X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e74163d036a0520de62667b2e77ffbe66bc7c72d..757a1aaa850bf48e45ee1dd2225cda1c9fa47d73:/app/views/issues/new.html.erb diff --git a/app/views/issues/new.html.erb b/app/views/issues/new.html.erb index e42ec19a6..010394c29 100644 --- a/app/views/issues/new.html.erb +++ b/app/views/issues/new.html.erb @@ -2,6 +2,15 @@

Report <%= reportable_url(@issue.reportable) %>

<% end %> +
+ +
+ <%= form_for(@issue) do |f| %> <%= f.error_messages %>
@@ -11,23 +20,20 @@ <%= f.hidden_field :reported_user_id %> -
-

Select one (or more) reasons for your report:

+
+

<%= t('issues.new.select') %>:

- <% @report_strings_yaml.each do |k,v| %> -
-
- <%= radio_button_tag :report_type, v[:type].to_s %> -
-
- <%= label_tag v[:details].to_s %>
-
-
-
- <% end %> +
+ <% @report_strings_yaml.each do |k,v| %> +
+ <%= radio_button_tag :report_type, v[:type].to_s %> + <%= label_tag v[:details].to_s %>
+
+ <% end %> +
-
- <%= text_area :report, :details, :cols => 80, :rows => 20, placeholder: t('issues.new.details'), required: true %> +
+ <%= text_area :report, :details, :cols => 20, :rows => 3, placeholder: t('issues.new.details'), required: true %>
@@ -35,4 +41,4 @@
-<% end %> \ No newline at end of file +<% end %>