chage label
This commit is contained in:
parent
8c27f82cf4
commit
8727f4224d
|
|
@ -22,7 +22,7 @@ ActiveAdmin.register JamRuby::LessonSession, :as => 'LessonSessions' do
|
|||
|
||||
filter :student_full_name_or_user_email_cont, label: 'Student Name Or Email', as: :string
|
||||
filter :by_search_teacher_in, label: 'Teacher Name Or Email', as: :string
|
||||
filter :by_lesson_package_type_in, label: 'Package Type', as: :select, collection: -> { LessonPackageType.all.map {|t| [t.admin_name, t.id]}}
|
||||
filter :by_lesson_package_type_in, label: 'Card Type', as: :select, collection: -> { LessonPackageType.all.map {|t| [t.admin_name, t.id]}}
|
||||
|
||||
controller do
|
||||
active_admin_config.includes.push :teacher, :music_session
|
||||
|
|
|
|||
Loading…
Reference in New Issue