]> git.openstreetmap.org Git - rails.git/blob - app/views/redactions/edit.html.erb
Highlight the history tab correctly
[rails.git] / app / views / redactions / edit.html.erb
1 <% @title = t 'redaction.edit.title' %>
2
3 <% content_for :heading do %>
4   <h1><%= t 'redaction.edit.heading' %></h1>
5 <% end %>
6
7 <%= form_for(@redaction) do |f| %>
8   <%= f.error_messages %>
9
10   <p>
11     <%= f.label :title, t('redaction.edit.title') %><br />
12     <%= f.text_field :title %>
13   </p>
14   <p>
15     <%= f.label :description, t('redaction.edit.description') %><br />
16     <%= richtext_area :redaction, :description, :cols => 80, :rows => 20, :format => @redaction.description_format %>
17   </p>
18   <p>
19     <%= f.submit t('redaction.edit.submit') %>
20   </p>
21 <% end %>
22