Sha256: 7be74f101379dee2c03794493728f5006c332b9fffd59ccadcc98847a4a82e67
Contents?: true
Size: 603 Bytes
Versions: 49
Compression:
Stored size: 603 Bytes
Contents
= 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"
Version data entries
49 entries across 49 versions & 1 rubygems