Sha256: ac56019dfc49f67780975cd2675829b4c21c0c03eef30b0d3a2312e20d906cb1
Contents?: true
Size: 1008 Bytes
Versions: 19
Compression:
Stored size: 1008 Bytes
Contents
.row .col.s12 %h5= t('.users') %table.responsive-table.hoverable.striped.resources_table %thead %tr %th{ :"data-field"=>"name"}= t('.name') %th{ :"data-field"=>"email"}= t('.email') %th{ :"data-field"=>"active"}= t('.active') %th{ :"data-field"=>"active"}= t('.confirmed') %th{ :"data-field"=>"invitations"}= t('.invitations') %th= t(:delete) %tbody#account_users.resources_list - resource.users.each do |user| = render partial: 'users/account_user', locals: { user: user} :coffeescript $ -> $(document.body).on 'click', '.unconfirmed', (e) -> e.preventDefault() e.stopPropagation() $elem = $(e.currentTarget) request = $.ajax url: $elem.attr('href'), type: "get", dataType: 'html' .done (data) -> $( $elem[0].parentElement).html(data) .error (data) -> swal("Oops", "We couldn't connect to the server!", "error")
Version data entries
19 entries across 19 versions & 1 rubygems