Class: Admin::Tramway::Event::PersonForm
- Inherits:
-
Tramway::ApplicationForm
- Object
- Tramway::ApplicationForm
- Admin::Tramway::Event::PersonForm
- Defined in:
- app/forms/admin/tramway/event/person_form.rb
Instance Method Summary collapse
-
#initialize(object) ⇒ PersonForm
constructor
A new instance of PersonForm.
Constructor Details
#initialize(object) ⇒ PersonForm
Returns a new instance of PersonForm.
6 7 8 9 10 11 12 13 |
# File 'app/forms/admin/tramway/event/person_form.rb', line 6 def initialize(object) super(object).tap do form_properties first_name: :string, last_name: :string, photo: :file, description: :ckeditor end end |