]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entry/new.rhtml
fixed "full" and "relationships_for_object" modes
[rails.git] / app / views / diary_entry / new.rhtml
1 <%= error_messages_for 'diary_entry' %>
2
3 <% form_for :diary_entry do |f| %>
4   <table>
5     <tr valign="top">
6       <th>Subject</th>
7       <td><%= f.text_field :title, :size => 60 %></td>
8     </tr>
9     <tr valign="top">
10       <th>Body</th>
11       <td><%= f.text_area :body, :cols => 80 %></td>
12     </tr>
13     <tr>
14       <th></th>
15       <td><%= submit_tag 'Save' %></td>
16     </tr>
17   </table>
18 <% end %>