Sha256: 05eb7fb25550b1e7c650e66c40fe6c23467dabbd043071c899a823a587efd21c
Contents?: true
Size: 580 Bytes
Versions: 69
Compression:
Stored size: 580 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings module Admin # This class holds a Form to update meeting services class MeetingServiceForm < Decidim::Form include TranslatableAttributes attribute :deleted, Boolean, default: false translatable_attribute :title, String translatable_attribute :description, String validates :title, translatable_presence: true, unless: :deleted def to_param return id if id.present? "meeting-service-id" end end end end end
Version data entries
69 entries across 69 versions & 1 rubygems