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

2 lines
226 B
Plaintext

$('.admin-modal-container').html("<%= j( render partial: 'admins/sub_disciplines/shared/edit_sub_discipline_modal', locals: { sub_discipline: @sub_discipline } ) %>");
$('.modal.admin-edit-sub-discipline-modal').modal('show');