Sha256: 51c855553fd9f2ccaae0c6be43dcaaf8a854b34eb8ab56f862d18751ab06b71f

Contents?: true

Size: 627 Bytes

Versions: 3

Compression:

Stored size: 627 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Accountability
    module Admin
      # This class holds a Form to create/update template texts from Decidim's admin panel.
      class TemplateTextsForm < Decidim::Form
        include TranslatableAttributes
        include TranslationsHelper

        translatable_attribute :intro, String
        translatable_attribute :categories_label, String
        translatable_attribute :subcategories_label, String
        translatable_attribute :heading_parent_level_results, String
        translatable_attribute :heading_leaf_level_results, String
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-accountability-0.1.2 app/forms/decidim/accountability/admin/template_texts_form.rb
decidim-accountability-0.1.1 app/forms/decidim/accountability/admin/template_texts_form.rb
decidim-accountability-0.1.0 app/forms/decidim/accountability/admin/template_texts_form.rb