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