1 <% content_for :heading do %>
2 <h1><%= t ".title_html", :link => link_to(reportable_title(@report.issue.reportable), reportable_url(@report.issue.reportable)) %></h1>
5 <div class="alert alert-warning report-disclaimer">
6 <%= t(".disclaimer.intro") %>
8 <li> <%= t(".disclaimer.not_just_mistake") %> </li>
9 <li> <%= t(".disclaimer.unable_to_fix") %> </li>
10 <li> <%= t(".disclaimer.resolve_with_user") %> </li>
14 <%= form_for(@report) do |f| %>
15 <%= f.error_messages %>
17 <%= f.fields_for @report.issue do |issue_form| %>
18 <%= issue_form.hidden_field :reportable_id %>
19 <%= issue_form.hidden_field :reportable_type %>
22 <div class='form-row'>
23 <p><%= t(".select") %></p>
25 <% Report.categories_for(@report.issue.reportable).each do |c| %>
27 <%= radio_button :report, :category, c, :required => true %>
28 <%= label_tag "report_category_#{c}", t(".categories.#{@report.issue.reportable.class.name.underscore}.#{c}_label") %> <br />
34 <div class='form-row'>
35 <%= text_area :report, :details, :cols => 20, :rows => 5, :placeholder => t(".details") %>