Sha256: 786ff38bc8b43d4c8cc70c1bca05940aa07a801a57ff8f62fd2eb170b0224e3f

Contents?: true

Size: 351 Bytes

Versions: 9

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true
module Decidim
  module Admin
    # A form object used to create participatory process user roles from the
    # admin dashboard.
    #
    class ParticipatoryProcessUserRoleForm < Form
      mimic :participatory_process_user_role

      attribute :email, String

      validates :email, presence: true
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
decidim-admin-0.0.5 app/forms/decidim/admin/participatory_process_user_role_form.rb
decidim-0.0.5 decidim-admin/app/forms/decidim/admin/participatory_process_user_role_form.rb
decidim-0.0.4 decidim-admin/app/forms/decidim/admin/participatory_process_user_role_form.rb
decidim-admin-0.0.3 app/forms/decidim/admin/participatory_process_user_role_form.rb
decidim-0.0.3 decidim-admin/app/forms/decidim/admin/participatory_process_user_role_form.rb
decidim-admin-0.0.2 app/forms/decidim/admin/participatory_process_user_role_form.rb
decidim-0.0.2 decidim-admin/app/forms/decidim/admin/participatory_process_user_role_form.rb
decidim-admin-0.0.1 app/forms/decidim/admin/participatory_process_user_role_form.rb
decidim-0.0.1 decidim-admin/app/forms/decidim/admin/participatory_process_user_role_form.rb