Class: Decidim::Meetings::Admin::MeetingAgendaForm
- Inherits:
-
Form
- Object
- Form
- Decidim::Meetings::Admin::MeetingAgendaForm
- Includes:
- TranslatableAttributes
- Defined in:
- app/forms/decidim/meetings/admin/meeting_agenda_form.rb
Overview
This class holds a Form to update meeting agenda items
Instance Method Summary collapse
Instance Method Details
#map_model(model) ⇒ Object
18 19 20 21 22 |
# File 'app/forms/decidim/meetings/admin/meeting_agenda_form.rb', line 18 def map_model(model) self.agenda_items = model.agenda_items.first_class.map do |agenda_item| MeetingAgendaItemsForm.from_model(agenda_item) end end |