Class: Decidim::ActionDelegator::Censuses::InternalUsersForm
- Inherits:
-
Elections::Censuses::InternalUsersForm
- Object
- Elections::Censuses::InternalUsersForm
- Decidim::ActionDelegator::Censuses::InternalUsersForm
- Defined in:
- app/forms/decidim/action_delegator/censuses/internal_users_form.rb
Overview
This class does the same as Decidim::Elections::Censuses::InternalUsersForm but it provides the extra explanations from the authorizer hopefully this will be not needed form Decidim v0.32 onwards
Instance Attribute Summary collapse
-
#authorization_status ⇒ Object
readonly
Returns the value of attribute authorization_status.
Instance Method Summary collapse
Instance Attribute Details
#authorization_status ⇒ Object (readonly)
Returns the value of attribute authorization_status.
12 13 14 |
# File 'app/forms/decidim/action_delegator/censuses/internal_users_form.rb', line 12 def @authorization_status end |
Instance Method Details
#authorization_handlers ⇒ Object
14 15 16 |
# File 'app/forms/decidim/action_delegator/censuses/internal_users_form.rb', line 14 def @authorization_handlers ||= election.census_settings&.fetch("authorization_handlers", {})&.slice(*organization.) end |