]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/edit.html.erb
Remove unused (and bogus) code
[rails.git] / app / views / diary_entry / edit.html.erb
index 93e7631ed6e4365be40b279f0e55edcd86bf5984..4021eaa4d30bf515cd14f2353dc8f88d512b9f75 100644 (file)
     <fieldset>
       <div class='form-row'>
         <label class="standard-label"><%= t 'diary_entry.edit.subject' -%></label>
-        <%= f.text_field :title %>
+        <%= f.text_field :title, :class => "richtext_title" %>
       </div>
       <div class='form-row'>
         <label class="standard-label"><%= t 'diary_entry.edit.body' -%></label>
-        <%= richtext_area :diary_entry, :body, :format => @diary_entry.body_format %>
+        <%= richtext_area :diary_entry, :body, :cols => 80, :rows => 20, :format => @diary_entry.body_format %>
       </div>
-      <div clas='form-row'>
+      <div class='form-row'>
         <label class="standard-label"><%= t 'diary_entry.edit.language' -%></label>
         <%= f.collection_select :language_code, Language.order(:english_name), :code, :name %>
     </div>