Class: Decidim::Amendable::EditForm
- Inherits:
-
Form
- Object
- Form
- Decidim::Amendable::EditForm
- Defined in:
- decidim-core/app/forms/decidim/amendable/edit_form.rb
Overview
A form object used to edit emendations
Instance Method Summary collapse
Instance Method Details
#map_model(model) ⇒ Object
17 18 19 |
# File 'decidim-core/app/forms/decidim/amendable/edit_form.rb', line 17 def map_model(model) self.emendation_params = model.emendation.attributes.slice(*amendable_fields_as_string) end |