diff --git a/app/views/admin/education/programs/_form.html.erb b/app/views/admin/education/programs/_form.html.erb index 3abf686197ad084a6fde13fc281e707880091e0f..cdc86993056e44d1363ebbf701d53bf18a5015a5 100644 --- a/app/views/admin/education/programs/_form.html.erb +++ b/app/views/admin/education/programs/_form.html.erb @@ -50,7 +50,7 @@ <%= f.input :evaluation, as: :rich_text_area %> <%= f.association :teachers, as: :check_boxes, - collection: current_university.teachers.ordered %> + collection: current_university.education_teachers.ordered %> </div> </div> </div> diff --git a/app/views/admin/research/journal/articles/_form.html.erb b/app/views/admin/research/journal/articles/_form.html.erb index a1a80fb55069c28d350b70962a5a1e499282a567..52e37486ccecfc6f81f7d66679e9181d240c5238 100644 --- a/app/views/admin/research/journal/articles/_form.html.erb +++ b/app/views/admin/research/journal/articles/_form.html.erb @@ -23,7 +23,7 @@ <%= f.association :volume, collection: @journal.volumes, label: Research::Journal::Volume.model_name.human %> <%= f.input :published_at, html5: true %> <%= f.input :keywords, as: :text, input_html: { rows: 2 } %> - <%= f.association :researchers, collection: current_university.researchers.ordered , multiple: true %> + <%= f.association :researchers, collection: current_university.research_researchers.ordered , multiple: true %> </div> </div> </div>