]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/edit.html.erb
Make rich text edit controls use as much space as possible
[rails.git] / app / views / diary_entry / edit.html.erb
index 93e7631ed6e4365be40b279f0e55edcd86bf5984..c49573bec8da201f681e0b5e53e643d40be2759d 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'>
         <label class="standard-label"><%= t 'diary_entry.edit.language' -%></label>