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' style='width:600px'>
15 <p><%= t('issues.new.select') %>:</p>
17 <% @report_strings_yaml.each do |k,v| %>
18 <div class="new-report-form">
19 <div class="new-report-checkbox">
20 <%= radio_button_tag :report_type, v[:type].to_s %>
22 <div class="new-report-string">
23 <%= label_tag v[:details].to_s %> <br/>
29 <%= text_area :report, :details, :cols => 20, :rows => 3, placeholder: t('issues.new.details'), required: true %>