Class: Tramway::Partner::PartnershipForm

Inherits:
Core::ApplicationForm
  • Object
show all
Defined in:
app/forms/tramway/partner/partnership_form.rb

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ PartnershipForm

Returns a new instance of PartnershipForm.



6
7
8
9
10
11
12
# File 'app/forms/tramway/partner/partnership_form.rb', line 6

def initialize(object)
  form_object = super object
  form_properties partner: :polymorphic_association,
                  organization: :association,
                  partnership_type: :default
  form_object
end