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-31 22:58:55 +00:00
|
|
|
<div class="name field">
|
|
|
|
<%= label_for name => 'Name' %>
|
|
|
|
<%= input_tag 'name' %>
|
|
|
|
</div>
|
|
|
|
<div class="url field">
|
|
|
|
<%= label_for url => 'Homepage URL (doesn\'t work yet 😩😭)' %>
|
|
|
|
<%= input_tag 'url' %>
|
|
|
|
</div>
|
|
|
|
<div class="message field">
|
|
|
|
<%= label_for message => 'Message' %>
|
|
|
|
<%= text_area 'message', rows => 6 %>
|
|
|
|
</div>
|
|
|
|
<h3>SwaggCAPTCHA™</h3>
|
|
|
|
<div class="captcha field">
|
|
|
|
<%= radio_button answer => 0 %>
|
|
|
|
<%= label_for answer => 'I don\'t want to sign (wrong answer)' %>
|
|
|
|
<%= radio_button answer => 'false' %>
|
|
|
|
<%= label_for answer => 'I\'m ready to sign (choose this one)' %>
|
|
|
|
<%= radio_button answer => undef %>
|
|
|
|
<%= label_for answer => 'This is spam/I\'m a bot, do not sign' %>
|
|
|
|
</div>
|
|
|
|
<%= submit_button 'Sign it', class => 'win95button' %>
|
2021-12-05 07:52:31 +00:00
|
|
|
</form>
|