Sha256: 0e6e0bea2ecd0d832d338e475e63d584cce3b3eb17859e56e195919f05de27f6

Contents?: true

Size: 380 Bytes

Versions: 6

Compression:

Stored size: 380 Bytes

Contents

= effective_form_with(model: [:admin, stamp], engine: true) do |f|
  - if f.object.new_record?
    = f.select :owner, { 'Users' => current_user.class.members.sorted }, polymorphic: true
  - else
    = f.static_field :owner

  = render 'effective/stamps/fields', f: f, stamp: f.object

  - if f.object.new_record?
    = f.submit 'Save and Mark Paid'
  - else
    = f.submit 'Save'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
effective_products-0.1.2 app/views/admin/stamps/_form.html.haml
effective_products-0.1.1 app/views/admin/stamps/_form.html.haml
effective_products-0.1.0 app/views/admin/stamps/_form.html.haml
effective_products-0.0.9 app/views/admin/stamps/_form.html.haml
effective_products-0.0.8 app/views/admin/stamps/_form.html.haml
effective_products-0.0.7 app/views/admin/stamps/_form.html.haml