]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/new.html.erb
Add preview functionality to rich text controls
[rails.git] / app / views / message / new.html.erb
index 113e566d82b74b4bcab5cbb423234ec852f9cddf..a9dfb520f84ee1de9dd13ba5fd725f3a50e461e1 100644 (file)
@@ -10,7 +10,7 @@
     </tr>
     <tr valign="top">
       <td class="fieldName"><%= t'message.new.body' %></td>
-      <td><%= f.text_area :body, :cols => 80, :value => @body %></td>
+      <td><%= richtext_area :message, :body, :cols => 80, :value => @body %></td>
     </tr>
     <tr>
       <td></td>