forgeplus/app/views/admins/departments/edit.js.erb

2 lines
213 B
Plaintext

$('.admin-modal-container').html("<%= j( render partial: 'admins/departments/shared/edit_department_modal', locals: { department: current_department } ) %>");
$('.modal.admin-edit-department-modal').modal('show');