X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/379bf785bea575c6519226ed5bbbe53e540bd795..52cd62bf1309a91813b8dfccaf5f7ce9859007f1:/app/views/reports/new.html.erb diff --git a/app/views/reports/new.html.erb b/app/views/reports/new.html.erb index a29104ae7..6c12c14e3 100644 --- a/app/views/reports/new.html.erb +++ b/app/views/reports/new.html.erb @@ -11,32 +11,13 @@ -<%= form_for(@report) do |f| %> - <%= f.error_messages %> -
+ <%= f.collection_radio_buttons :category, report_categories(@report.issue.reportable), :id, :label %> + <%= f.text_area :details, :rows => 5, :label_as_placeholder => true %> + <%= f.primary %> <% end %>