X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5e2c567b7f469f0c8814082f0731806c047884d9..f885cfe0f5f0602dd51e1734f8ce2eaf377b1614:/app/views/reports/new.html.erb diff --git a/app/views/reports/new.html.erb b/app/views/reports/new.html.erb index d748bd747..aad0d801b 100644 --- a/app/views/reports/new.html.erb +++ b/app/views/reports/new.html.erb @@ -2,12 +2,12 @@

<%= t ".title_html", :link => link_to(reportable_title(@report.issue.reportable), reportable_url(@report.issue.reportable)) %>

<% end %> -
- <%= t('.disclaimer.intro') %> +
+ <%= t(".disclaimer.intro") %>
@@ -19,20 +19,20 @@ <%= issue_form.hidden_field :reportable_type %> <% end %> -
-

<%= t('.select') %>

+
+

<%= t(".select") %>

    <% Report.categories_for(@report.issue.reportable).each do |c| %>
  • <%= radio_button :report, :category, c, :required => true %> - <%= label_tag "report_category_#{c}", t(".categories.#{@report.issue.reportable.class.name.underscore}.#{c}") %>
    + <%= label_tag "report_category_#{c}", t(".categories.#{@report.issue.reportable.class.name.underscore}.#{c}_label") %>
  • <% end %>
-
- <%= text_area :report, :details, :cols => 20, :rows => 5, placeholder: t('.details'), :required => true %> +
+ <%= text_area :report, :details, :cols => 20, :rows => 5, :placeholder => t(".details") %>