Sha256: d847fcce77214893782e2afe1a8f27313cf536d8786ad52069dacce781e8727a
Contents?: true
Size: 420 Bytes
Versions: 12
Compression:
Stored size: 420 Bytes
Contents
= effective_form_with(model: [:admin, event_addon], engine: true) do |f| = f.hidden_field :event_id - if f.object.new_record? = f.select :owner, { 'Users' => current_user.class.all }, polymorphic: true - else = f.static_field :owner = render 'effective/event_addons/fields', f: f, event: event_addon.event - if f.object.new_record? = f.submit 'Save and Mark Paid' - else = f.submit 'Save'
Version data entries
12 entries across 12 versions & 1 rubygems