Class: DepartmentsPickerInput

Inherits:
TomSelectInput
  • Object
show all
Defined in:
app/inputs/departments_picker_input.rb

Overview

SimpleForm input wrapper: departments picker.

Instance Method Summary collapse

Methods inherited from TomSelectInput

#input, #input_html_classes

Instance Method Details

#collectionObject



4
5
6
# File 'app/inputs/departments_picker_input.rb', line 4

def collection
  EmployeeRecord.department_select_options.insert(-1, 'Tech 24x7')
end