= simple_form_for ticket, remote: true do |f| = hidden_field_tag :type, ticket.type.underscore = f.input :parent_id, as: :hidden .try{style: "line-height: 3em;"} %span As a = f.input :who, placeholder: "Who?", label: false %span I want to = f.input :what, placeholder: "What?", label: false %span , so that = f.input :why, placeholder: "Why?", label: false = f.input :description, placeholder: "Description (optional)", label: false = f.submit class: "btn btn-primary pull-right" - unless ticket.new_record? = link_to "Cancel", "#", class: "cancel-edit-form"