guestbook-ng/templates/sign.html.ep

31 lines
880 B
Plaintext
Raw Normal View History

% layout 'default';
2021-12-19 17:43:58 -05:00
% title 'Sign';
2021-12-11 19:01:43 -05:00
<h2>Sign the Guestbook</h2>
<form method="post">
2021-12-25 01:05:34 -05:00
<table class="bordered">
<tr>
2021-12-25 01:05:34 -05:00
<th>Name</th>
<td><%= input_tag 'name' %></td>
</tr>
<tr>
2021-12-25 01:05:34 -05:00
<th>Message</th>
<td><%= text_area 'message', cols => 40, rows => 6 %></td>
</tr>
2021-12-18 23:03:53 -05:00
<tr>
2021-12-25 01:05:34 -05:00
<th>SwaggCAPTCHA™</th>
2021-12-18 23:03:53 -05:00
<td>
<%= radio_button answer => 0 %>
2021-12-25 01:05:34 -05:00
<%= label_for answer => 'I don\'t want to sign (wrong answer)' %><br>
2021-12-19 17:49:58 -05:00
<%= radio_button answer => 'false' %>
2021-12-25 01:05:34 -05:00
<%= label_for answer => 'I\'m ready to sign (choose this one)' %><br>
2021-12-18 23:03:53 -05:00
<%= radio_button answer => undef %>
2021-12-19 17:43:58 -05:00
<%= label_for answer => 'This is spam/I\'m a bot, do not sign' %>
2021-12-18 23:03:53 -05:00
</td>
</tr>
<tr>
2021-12-25 01:05:34 -05:00
<th style="border: none;">&nbsp;</th>
<td style="border: none;"><%= submit_button 'Send it' %></td>
</tr>
</table>
</form>