Class: Hyrax::Forms::Admin::CollectionTypeForm
- Inherits:
-
Object
- Object
- Hyrax::Forms::Admin::CollectionTypeForm
- Includes:
- ActiveModel::Model
- Defined in:
- app/forms/hyrax/forms/admin/collection_type_form.rb
Instance Attribute Summary collapse
-
#collection_type ⇒ Object
Returns the value of attribute collection_type.
Instance Method Summary collapse
Instance Attribute Details
#collection_type ⇒ Object
Returns the value of attribute collection_type.
6 7 8 |
# File 'app/forms/hyrax/forms/admin/collection_type_form.rb', line 6 def collection_type @collection_type end |
Instance Method Details
#all_settings_disabled? ⇒ Boolean
14 15 16 |
# File 'app/forms/hyrax/forms/admin/collection_type_form.rb', line 14 def all_settings_disabled? collections? || admin_set? || user_collection? end |
#share_options_disabled? ⇒ Boolean
18 19 20 |
# File 'app/forms/hyrax/forms/admin/collection_type_form.rb', line 18 def all_settings_disabled? || !sharable end |