X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2aca6920dc3488a381b275d21a31344da02029e6..eacbcefb2e9edcc14bd88edc876487801c09e418:/app/views/reports/new.html.erb
diff --git a/app/views/reports/new.html.erb b/app/views/reports/new.html.erb
index 7023667fe..fb338b497 100644
--- a/app/views/reports/new.html.erb
+++ b/app/views/reports/new.html.erb
@@ -24,15 +24,15 @@
<% Report.categories_for(@report.issue.reportable).each do |c| %>
-
- <%= radio_button :report, :category, c %>
- <%= label_tag "report_category_#{c}", t(".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('.details'), required: true %>
+ <%= text_area :report, :details, :cols => 20, :rows => 5, placeholder: t('.details') %>