-<% form_tag :controller => 'diary_entry', :action => 'new' do %>
-subject<%= text_field 'diary_entry', 'title' %><br>
-body<%= text_area 'diary_entry', 'body' %><br>
- <%= submit_tag 'Save' %>
+<% form_for :controller => 'diary_entry', :action => 'new' do |f| %>
+ <table>
+ <tr valign="top">
+ <th>Subject</th>
+ <td><%= f.text_field :title, :size => 60 %></td>
+ </tr>
+ <tr valign="top">
+ <th>Body</th>
+ <td><%= f.text_area :body, :cols => 80 %></td>
+ </tr>
+ <tr>
+ <th></th>
+ <td><%= submit_tag 'Save' %></td>
+ </tr>
+ </table>