X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2aca6920dc3488a381b275d21a31344da02029e6..9c83235f72aece554426751e334c1f0b4ccaea64:/app/views/reports/new.html.erb?ds=sidebyside
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') %>