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