Class: Decidim::Admin::HelpSectionForm

Inherits:
Form
  • Object
show all
Includes:
TranslatableAttributes, TranslationsHelper
Defined in:
decidim-admin/app/forms/decidim/admin/help_section_form.rb

Overview

This form contains the presentational and validation logic to update ContextualHelpSections from the admin panel.

Instance Method Summary collapse

Methods included from TranslationsHelper

empty_translatable, ensure_translatable, multi_translation, translated_in_current_locale?

Methods included from TranslatableAttributes

#default_locale?

Instance Method Details

#nameObject


14
15
16
# File 'decidim-admin/app/forms/decidim/admin/help_section_form.rb', line 14

def name
  multi_translation("activerecord.models.#{manifest.model_class_name.underscore}.other")
end