<% content_for :heading do %>
- <h1>Report a new Issue for <%= reportable_url(@issue.reportable) %></h1>
+ <h1>Report <%= reportable_url(@issue.reportable) %></h1>
<% end %>
+<div class="disclaimer">
+ <ul>
+ <%= t('issues.new.disclaimer.intro') %>:
+ <li> <%= t('issues.new.disclaimer.not_just_mistake') %> </li>
+ <li> <%= t('issues.new.disclaimer.unable_to_fix') %> </li>
+ <li> <%= t('issues.new.disclaimer.resolve_with_user') %> </li>
+ </ul>
+</div>
+
<%= form_for(@issue) do |f| %>
<%= f.error_messages %>
<fieldset>
<div class='form-row'>
- <%= f.hidden_field :reportable_id, :value => params[:reportable_id] %>
- <%= f.hidden_field :reportable_type, :value => params[:reportable_type] %>
- <%= f.hidden_field :user_id, :value => params[:user_id] %>
+ <%= f.hidden_field :reportable_id %>
+ <%= f.hidden_field :reportable_type %>
+ <%= f.hidden_field :reported_user_id %>
</div>
- <div class='form-row'>
- <label class="standard-label"><%= t 'issue.new.message' -%></label>
- <%= 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." %>
+
+ <div class='form-row' style='width:600px'>
+ <p><%= t('issues.new.select') %>:</p>
+
+ <div class="new-report-form">
+ <% @report_strings_yaml.each do |k,v| %>
+ <div style="padding-left:5px">
+ <%= radio_button_tag :report_type, v[:type].to_s %>
+ <%= label_tag v[:details].to_s %> <br/>
+ </div>
+ <% end %>
+ </div>
+
+ <br/>
+ <%= text_area :report, :details, :cols => 20, :rows => 3, placeholder: t('issues.new.details'), required: true %>
</div>
+
<div class='buttons'>
<%= submit_tag %>
</div>
+
</fieldset>
-<% end %>
\ No newline at end of file
+<% end %>