Sha256: 14d61716ae181f3961670301aefaf3e8d6b253f7e5683b1eace51a848878c17b

Contents?: true

Size: 527 Bytes

Versions: 87

Compression:

Stored size: 527 Bytes

Contents

- url = invoice.persisted? ? invoice_path( invoice.id ) : invoices_path

= form_for invoice, :as => :invoice, :url => url do |f|
  -# .input-field
    %label email
    = text_field_tag :email
  .a
    %label profile
    = f.select :profile, options_for_select( IshModels::UserProfile.all.map{ |p| [ p.email, p.id ] } )
    
  %label amount
  = f.number_field :amount, :step => 0.01, :default => 0.0

  %label number
  = f.number_field :number

  .a
    %label Description
    = f.text_area :description
  
  = f.submit 'Save'

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
ish_manager-0.1.8.148 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.147 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.146 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.145 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.144 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.143 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.142 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.141 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.140 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.139 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.138 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.137 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.136 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.135 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.134 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.133 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.132 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.131 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.129 app/views/ish_manager/invoices/_form.haml
ish_manager-0.1.8.128 app/views/ish_manager/invoices/_form.haml