guestbook-ng/templates/sign.html.ep
2021-12-11 19:01:43 -05:00

20 lines
392 B
Plaintext

% layout 'default';
% title 'New Post';
<h2>Sign the Guestbook</h2>
<form method="post">
<table>
<tr>
<th>Name:</th>
<td><%= input_tag 'name' %></td>
</tr>
<tr>
<th>Message:</th>
<td><%= text_area 'message', cols => 40, rows => 6 %></td>
</tr>
<tr>
<th>&nbsp;</th>
<td><%= submit_button 'Send it' %></td>
</tr>
</table>
</form>