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