]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/new.html.erb
UI changes + Redirection after creating report fixed
[rails.git] / app / views / issues / new.html.erb
index ea01890cfbc4eed3680a66d48a4213248bc1a1c4..a2f43e9553f3a01c07b90a2c5d0138f3b0026c35 100644 (file)
@@ -2,6 +2,15 @@
     <h1>Report <%= reportable_url(@issue.reportable) %></h1>
 <% end %>
 
+<div class="disclaimer">
+    <ul>
+    <%= t('issues.new.disclaimer.placeholder') %>:
+        <li> --> <%= t('issues.new.disclaimer.placeholder1') %> </li>   
+        <li> --> <%= t('issues.new.disclaimer.placeholder2') %> </li>   
+        <li> --> <%= t('issues.new.disclaimer.placeholder3') %> </li>   
+    </ul>
+</div>
+
 <%= form_for(@issue) do |f| %>
     <%= f.error_messages %>
         <fieldset>
             <div class='form-row' style='width:600px'>
                 <p><%= t('issues.new.select') %>:</p>
 
-                <% @report_strings_yaml.each do |k,v| %>
-                    <div class="new-report-form">
-                        <div class="new-report-checkbox">
-                        <%= radio_button_tag :report_type, v[:type].to_s %>
-                        </div>
-                        <div class="new-report-string">
-                            <%= label_tag v[:details].to_s %> <br/>
-                        </div>
-                    </div>
-                    <br/>
-                <% end %> 
+                <div class="new-report-form">
+                    <% @report_strings_yaml.each do |k,v| %>
+                            <div style="padding-left:5px">
+                                <%= radio_button_tag :report_type, v[:type].to_s %>
+                                <%= label_tag v[:details].to_s %> <br/>
+                            </div>
+                    <% end %> 
+                </div>
                 
+                <br/>
                 <%= text_area :report, :details, :cols => 20, :rows => 3, placeholder: t('issues.new.details'), required: true %>
             </div>