]> git.openstreetmap.org Git - rails.git/blob - app/views/issues/new.html.erb
2b26765b6345b1291011bfb8e7d32c4c6e5b2bce
[rails.git] / app / views / issues / new.html.erb
1 <% content_for :heading do %>
2     <h1>Report a new Issue for <%= reportable_url(@issue.reportable) %></h1>
3 <% end %>
4
5 <%= form_for(@issue) do |f| %>
6     <%= f.error_messages %>
7         <fieldset>
8             <div class='form-row'>
9                 <%= f.hidden_field :reportable_id %>
10                 <%= f.hidden_field :reportable_type %>
11                 <%= f.hidden_field :user_id %>
12             </div>
13             <div class='form-row'>
14                 <label class="standard-label"><%= t 'issue.new.message' -%></label>
15                 <%= text_area :report, :details, :cols => 80, :rows => 20, placeholder: "Tell us what's wrong! Any information you can give will go on to help moderators a long way." %>
16             </div>
17             <div class='buttons'>
18                 <%= submit_tag %>
19             </div>
20         </fieldset>
21 <% end %>