clarion/app/views/management/users/show.js.erb
2014-09-17 17:48:46 +03:00

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');