Sha256: 36546f8ba8eb48d5de68f9c0017e91ebc764bc6f6a9ed140c03bd4f947cd9c8b

Contents?: true

Size: 888 Bytes

Versions: 1

Compression:

Stored size: 888 Bytes

Contents

<% page_title t.aerogel.admin.panes.users %>

<%= partial "admin/users/tabs" %>


<%
    table User.all do
        column :authentications, label: '' do |u|
            u.authentications.map{|a| auth_provider_as_icon a.provider }.join
        end
        column :full_name do |u|
            link_to_modal_if_can "#{u.id}/edit", h( u.full_name )
        end
        column :email do |u|
            email = u.emails.first
            h( email.email)+" "+user_email_confirmed_as_icon( email )
        end
        column :roles do |u|
            u.roles.map{|v| v.to_s}.join(", ")
        end
        column :actions, label: '' do |u|
            link_to_modal "#{u.id}/delete", icon_delete
        end
    end
%>

<div class="table-actions">
    <%= link_to_modal_if_can 'new',
        icon("fa-plus")+" "+t.aerogel.admin.actions.users.create.to_s, class: "btn btn-default"
    %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aerogel-admin-1.4.4 views/admin/users/index.html.erb