Class: Decidim::Forms::QuestionPresenter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Decidim::Forms::QuestionPresenter
- Includes:
- TranslationsHelper
- Defined in:
- decidim-forms/app/presenters/decidim/forms/question_presenter.rb
Overview
Decorator for questions
Instance Method Summary collapse
Methods included from TranslationsHelper
empty_translatable, ensure_translatable, multi_translation, translated_in_current_locale?
Methods included from TranslatableAttributes
Instance Method Details
#translated_body ⇒ Object
11 12 13 |
# File 'decidim-forms/app/presenters/decidim/forms/question_presenter.rb', line 11 def translated_body @translated_body ||= translated_attribute body end |