Class: Sufia::Forms::BatchEditForm
- Inherits:
-
WorkForm
- Object
- CurationConcerns::Forms::WorkForm
- WorkForm
- Sufia::Forms::BatchEditForm
- Defined in:
- app/forms/sufia/forms/batch_edit_form.rb
Instance Attribute Summary collapse
-
#names ⇒ Object
Returns the value of attribute names.
Attributes inherited from WorkForm
Instance Method Summary collapse
-
#initialize(model, current_ability, batch) ⇒ BatchEditForm
constructor
A new instance of BatchEditForm.
Methods inherited from WorkForm
#[], build_permitted_params, multiple?, #primary_terms, #secondary_terms
Constructor Details
#initialize(model, current_ability, batch) ⇒ BatchEditForm
Returns a new instance of BatchEditForm.
16 17 18 19 20 |
# File 'app/forms/sufia/forms/batch_edit_form.rb', line 16 def initialize(model, current_ability, batch) super(model, current_ability) @names = [] initialize_combined_fields(batch) end |
Instance Attribute Details
#names ⇒ Object
Returns the value of attribute names.
11 12 13 |
# File 'app/forms/sufia/forms/batch_edit_form.rb', line 11 def names @names end |