app/views/tickets/_form.html.erb
<%= render "/shared/error_messages", target: @ticket %>
<%= simple_form_for @ticket, html: { class: 'form-horizontal'} do |f| %>
<fieldset>
<legend>Basic Information</legend>
<%= f.input :title %>
<%= f.input :description, input_html: {rows: 5} %>
</fieldset>
<fieldset>
<legend>Additional Information</legend>
<%= f.input :status, as: :select, include_blank: false, collection: Ticket::STATUSES %>
<%= f.association :submitter %>
</fieldset>
<%= f.button :submit %>
<% end %>