1 <% content_for :heading do %>
2 <h1><%= t ".title_html", :link => reportable_url(@report.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(@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' style='width:600px'>
23 <p><%= t('issues.new.select') %>:</p>
25 <div class="new-report-form">
26 <% Report.categories_for(@report.issue.reportable).each do |c| %>
27 <div style="padding-left:5px">
28 <%= radio_button :report, :category, c %>
29 <%= label_tag "report_category_#{c}", t("reports.categories.#{@report.issue.reportable.class.name}.#{c}") %> <br/>
35 <%= text_area :report, :details, :cols => 20, :rows => 3, placeholder: t('issues.new.details'), required: true %>