Class: Admin::Tramway::Conference::UnityForm

Inherits:
Tramway::ApplicationForm
  • Object
show all
Defined in:
app/forms/admin/tramway/conference/unity_form.rb

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ UnityForm

Returns a new instance of UnityForm.



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'app/forms/admin/tramway/conference/unity_form.rb', line 7

def initialize(object)
  super(object).tap do
    form_properties title: :string,
                    tagline: :string,
                    phone: :string,
                    address: :string,
                    latitude: :string,
                    longtitude: :string,
                    url: :string,
                    found_date: :date_picker,
                    email: :string,
                    favicon: :file,
                    public_name: :string
  end
end