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

2 lines
191 B
Plaintext

$('.admin-modal-container').html("<%= j( render partial: 'admins/subjects/shared/edit_subject_modal', locals: { subject: @subject } ) %>");
$('.modal.admin-edit-subject-modal').modal('show');