X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d49922eb630abb73c7faffb650ab97b3c5d94c52..683722ed5c1b3224a04c23b4d175a0638964f713:/app/views/issues/new.html.erb diff --git a/app/views/issues/new.html.erb b/app/views/issues/new.html.erb index 83c5d0196..2a6cd66f9 100644 --- a/app/views/issues/new.html.erb +++ b/app/views/issues/new.html.erb @@ -1,2 +1,21 @@ -

Issues#new

-

Find me in app/views/issues/new.html.erb

+<% content_for :heading do %> +

Report a new Issue for <%= reportable_url(@issue.reportable) %>

+<% end %> + +<%= form_for(@issue) do |f| %> + <%= f.error_messages %> +
+
+ <%= f.hidden_field :reportable_id, :value => params[:reportable_id] %> + <%= f.hidden_field :reportable_type, :value => params[:reportable_type] %> + <%= f.hidden_field :user_id, :value => params[:user_id] %> +
+
+ + <%= text_area :report, :details, :cols => 80, :rows => 20, placeholder: "Tell us what's wrong! Any information you can give will go on to help moderators a long way." %> +
+
+ <%= submit_tag %> +
+
+<% end %> \ No newline at end of file