1 <% content_for :heading do %>
2 <h1>Report <%= reportable_url(@issue.reportable) %></h1>
5 <div class="disclaimer">
7 <%= t('issues.new.disclaimer.intro') %>:
8 <li> <%= t('issues.new.disclaimer.not_just_mistake') %> </li>
9 <li> <%= t('issues.new.disclaimer.unable_to_fix') %> </li>
10 <li> <%= t('issues.new.disclaimer.resolve_with_user') %> </li>
14 <%= form_for(@issue) do |f| %>
15 <%= f.error_messages %>
17 <div class='form-row'>
18 <%= f.hidden_field :reportable_id %>
19 <%= f.hidden_field :reportable_type %>
20 <%= f.hidden_field :reported_user_id %>
23 <div class='form-row' style='width:600px'>
24 <p><%= t('issues.new.select') %>:</p>
26 <div class="new-report-form">
27 <% @report_strings_yaml.each do |k,v| %>
28 <div style="padding-left:5px">
29 <%= radio_button_tag :report_type, v[:type].to_s %>
30 <%= label_tag v[:details].to_s %> <br/>
36 <%= text_area :report, :details, :cols => 20, :rows => 3, placeholder: t('issues.new.details'), required: true %>