]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/reports/new.html.erb
Fix stubbing of hostip requests
[rails.git] / app / views / reports / new.html.erb
index d748bd7474b46e4cb1217a84b2042ae89c01a03a..fb338b4979c2bd46376e2f96b7d5c315930ceb58 100644 (file)
       <% Report.categories_for(@report.issue.reportable).each do |c| %>
         <li>
           <%= radio_button :report, :category, c, :required => true %>
-          <%= label_tag "report_category_#{c}", t(".categories.#{@report.issue.reportable.class.name.underscore}.#{c}") %> <br/>
+          <%= label_tag "report_category_#{c}", t(".categories.#{@report.issue.reportable.class.name.underscore}.#{c}_label") %> <br/>
         </li>
       <% end %>
       </ul>
     </div>
 
     <div class='form-row'>
-      <%= text_area :report, :details, :cols => 20, :rows => 5, placeholder: t('.details'), :required => true %>
+      <%= text_area :report, :details, :cols => 20, :rows => 5, placeholder: t('.details') %>
     </div>
 
     <div class='buttons'>