]> git.openstreetmap.org Git - rails.git/blob - 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
1 <% content_for :head do %>
2   <%= javascript_include_tag "diary_entry" %>
3 <% end %>
4
5 <% content_for :heading do %>
6   <h1><%= @title %></h1>
7 <% end %>
8
9 <%= bootstrap_form_for @diary_entry, :url => diary_entry_path(current_user, @diary_entry), :html => { :method => :put } do |f| %>
10   <%= render :partial => "form", :locals => { :f => f } %>
11 <% end %>