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