]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/edit.html.erb
Refactor richtext fields to use a custom bootstrap_form input.
[rails.git] / app / views / diary_entries / edit.html.erb
index 9d03e774ab27fdf2dcee2f07c4ba4392daf772de..c8df07f4c4ee42ddd79ce690a1eeaecbd8ba20f7 100644 (file)
@@ -6,6 +6,6 @@
   <h1><%= @title %></h1>
 <% end %>
 
-<%= form_for @diary_entry, :builder => RichtextFormBuilder, :url => diary_entry_path(current_user, @diary_entry), :html => { :method => :put } do |f| %>
+<%= bootstrap_form_for @diary_entry, :url => diary_entry_path(current_user, @diary_entry), :html => { :method => :put } do |f| %>
   <%= render :partial => "form", :locals => { :f => f } %>
 <% end %>