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

Version Path
tawork-0.0.50 app/views/tickets/_story_form.html.haml
tawork-0.0.49 app/views/tickets/_story_form.html.haml
tawork-0.0.48 app/views/tickets/_story_form.html.haml
tawork-0.0.47 app/views/tickets/_story_form.html.haml
tawork-0.0.46 app/views/tickets/_story_form.html.haml
tawork-0.0.45 app/views/tickets/_story_form.html.haml
tawork-0.0.44 app/views/tickets/_story_form.html.haml
tawork-0.0.43 app/views/tickets/_story_form.html.haml
tawork-0.0.42 app/views/tickets/_story_form.html.haml
tawork-0.0.41 app/views/tickets/_story_form.html.haml
tawork-0.0.40 app/views/tickets/_story_form.html.haml
tawork-0.0.39 app/views/tickets/_story_form.html.haml
tawork-0.0.38 app/views/tickets/_story_form.html.haml
tawork-0.0.37 app/views/tickets/_story_form.html.haml
tawork-0.0.36 app/views/tickets/_story_form.html.haml
tawork-0.0.35 app/views/tickets/_story_form.html.haml
tawork-0.0.34 app/views/tickets/_story_form.html.haml
tawork-0.0.33 app/views/tickets/_story_form.html.haml
tawork-0.0.31 app/views/tickets/_story_form.html.haml
tawork-0.0.30 app/views/tickets/_story_form.html.haml