X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ff7ddb6b86bf918a9418af7382836b41594d45e4..f7c2d56df7a90a65bea43e8e9a8336b42cc2b0d0:/app/views/reports/new.html.erb diff --git a/app/views/reports/new.html.erb b/app/views/reports/new.html.erb index a29104ae7..8106ccfc9 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.richtext_field :details, :rows => 18, :label_as_placeholder => true, :format => "markdown" %> + <%= f.primary %> <% end %>