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

Version Path
oxen_account-0.4.14 app/views/users/_account_users.html.haml
oxen_account-0.4.13 app/views/users/_account_users.html.haml
oxen_account-0.4.12 app/views/users/_account_users.html.haml
oxen_account-0.4.11 app/views/users/_account_users.html.haml
oxen_account-0.4.9 app/views/users/_account_users.html.haml
oxen_account-0.4.8 app/views/users/_account_users.html.haml
oxen_account-0.4.7 app/views/users/_account_users.html.haml
oxen_account-0.4.1 app/views/users/_account_users.html.haml
oxen_account-0.3.4 app/views/users/_account_users.html.haml
oxen_account-0.3.3 app/views/users/_account_users.html.haml
oxen_account-0.3.2 app/views/users/_account_users.html.haml
oxen_account-0.3.1 app/views/users/_account_users.html.haml
oxen_account-0.3.0 app/views/users/_account_users.html.haml
oxen_account-0.2.9 app/views/users/_account_users.html.haml
oxen_account-0.2.8 app/views/users/_account_users.html.haml
oxen_account-0.2.4 app/views/users/_account_users.html.haml
oxen_account-0.2.2 app/views/users/_account_users.html.haml
oxen_account-0.2.1 app/views/users/_account_users.html.haml
oxen_account-0.2.0 app/views/users/_account_users.html.haml