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

2 lines
226 B
Plaintext

$('.admin-modal-container').html("<%= j( render partial: 'admins/sub_repertoires/shared/edit_sub_repertoire_modal', locals: { sub_repertoire: @sub_repertoire } ) %>");
$('.modal.admin-edit-sub-repertoire-modal').modal('show');