X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2aca6920dc3488a381b275d21a31344da02029e6..7377cb63939f8743ca31e67ea3965c2b15d20057:/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') %>