Class: Decidim::Consultations::Admin::ConsultationForm
- Inherits:
-
Form
- Object
- Form
- Decidim::Consultations::Admin::ConsultationForm
- Includes:
- HasUploadValidations, TranslatableAttributes
- Defined in:
- app/forms/decidim/consultations/admin/consultation_form.rb
Overview
A form object used to create consultations from the admin dashboard.
Instance Method Summary collapse
Instance Method Details
#highlighted_scope ⇒ Object
38 39 40 |
# File 'app/forms/decidim/consultations/admin/consultation_form.rb', line 38 def highlighted_scope @highlighted_scope ||= current_organization.scopes.find_by(id: decidim_highlighted_scope_id) end |