Class: Decidim::Plans::Admin::SectionForm
- Inherits:
-
Form
- Object
- Form
- Decidim::Plans::Admin::SectionForm
- Includes:
- ApplicationHelper, TranslatableAttributes
- Defined in:
- app/forms/decidim/plans/admin/section_form.rb
Overview
A form object to be used when admin users want to create a plan.
Instance Method Summary collapse
Instance Method Details
#to_param ⇒ Object
28 29 30 31 32 |
# File 'app/forms/decidim/plans/admin/section_form.rb', line 28 def to_param return id if id.present? "section-id" end |