Class: Admin::Tramway::Profiles::SocialNetworkForm

Inherits:
Tramway::Core::ApplicationForm
  • Object
show all
Defined in:
app/forms/admin/tramway/profiles/social_network_form.rb

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ SocialNetworkForm

Returns a new instance of SocialNetworkForm.



8
9
10
11
12
13
14
15
# File 'app/forms/admin/tramway/profiles/social_network_form.rb', line 8

def initialize(object)
  super(object).tap do
    form_properties title: :string,
                    network_name: :default,
                    uid: :string,
                    record: :polymorphic_association
  end
end