clarion/app/views/management/users/show.js.erb

6 lines
191 B
Plaintext

$('body').append('<%= j render 'about_user' %>');
$('#about-user-<%= @user.id %>').on('hidden.bs.modal', function () {
$(this).remove();
});
$('#about-user-<%= @user.id %>').modal('show');