1 <% content_for :heading do %>
2 <h1>Report <%= reportable_url(@issue.reportable) %></h1>
5 <%= form_for(@issue) do |f| %>
6 <%= f.error_messages %>
9 <%= f.hidden_field :reportable_id %>
10 <%= f.hidden_field :reportable_type %>
11 <%= f.hidden_field :reported_user_id %>
14 <div class='form-row'>
15 <p>Select one (or more) reasons for your report:</p>
17 <% @report_strings_yaml.each do |k,v| %>
18 <div class="new-report-form">
19 <div class="new-report-checkbox">
20 <%= check_box_tag k.to_sym, v[:type].to_s %>
22 <div class="new-report-string">
23 <%= label_tag v[:details].to_s %> <br/>
29 <label class="standard-label"><b><%= t 'issue.new.message' -%>: </b></label> <br/>
30 <%= text_area :report, :details, :cols => 80, :rows => 20, placeholder: t('issues.new.details'), required: true %>