X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ae4487921350e141efed42fdf7cd3fd70d72bc97..9b19a45e74abd4414bb79d6b992f7bec14390ad6:/app/views/reports/new.html.erb
diff --git a/app/views/reports/new.html.erb b/app/views/reports/new.html.erb
index a39b5b151..6c12c14e3 100644
--- a/app/views/reports/new.html.erb
+++ b/app/views/reports/new.html.erb
@@ -1,42 +1,23 @@
<% content_for :heading do %>
-
Report <%= reportable_url(@report.issue.reportable) %>
+ <%= t ".title_html", :link => link_to(reportable_title(@report.issue.reportable), reportable_url(@report.issue.reportable)) %>
<% end %>
-
-
- <%= t('issues.new.disclaimer.intro') %>:
- - <%= t('issues.new.disclaimer.not_just_mistake') %>
- - <%= t('issues.new.disclaimer.unable_to_fix') %>
- - <%= t('issues.new.disclaimer.resolve_with_user') %>
-
+
+ <%= t(".disclaimer.intro") %>
+
+ - <%= t(".disclaimer.not_just_mistake") %>
+ - <%= t(".disclaimer.unable_to_fix") %>
+ - <%= t(".disclaimer.resolve_with_user") %>
+
-<%= 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 %>