Sha256: c7599022cff19e023d1bd1e4d9c04e7d84607e1099de8456d2702248383c688a
Contents?: true
Size: 468 Bytes
Versions: 6
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true module Decidim module Templates module Admin # This class holds a Form to update templates. class TemplateForm < Decidim::Form include TranslatableAttributes translatable_attribute :name, String translatable_attribute :description, String validates :name, translatable_presence: true, unless: :skip_name_validation def skip_name_validation = false end end end end
Version data entries
6 entries across 6 versions & 1 rubygems