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