- <div class='standard-form-row'>
- <p><%= t(".select") %></p>
- <ul class="form-list">
- <% 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}_label") %>
- </li>
- <% end %>
- </ul>
- </div>
-
- <div class='standard-form-row'>
- <%= text_area :report, :details, :cols => 20, :rows => 5, :placeholder => t(".details") %>
- </div>
-
- <div class='buttons'>
- <%= f.submit %>
- </div>
- </fieldset>
+ <%= f.collection_radio_buttons :category, report_categories(@report.issue.reportable), :id, :label %>
+ <%= f.richtext_field :details, :rows => 18, :label_as_placeholder => true, :format => "markdown" %>
+ <%= f.primary %>