X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/36970bcf5071a1f382e908c563d346f836061e04..f885cfe0f5f0602dd51e1734f8ce2eaf377b1614:/app/views/reports/new.html.erb diff --git a/app/views/reports/new.html.erb b/app/views/reports/new.html.erb index e5ac6373f..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('issues.new.disclaimer.intro') %> +
+ <%= t(".disclaimer.intro") %>
@@ -19,20 +19,20 @@ <%= issue_form.hidden_field :reportable_type %> <% end %> -
-

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

+
+

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

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