Sha256: 08f865d20066991053fd2b75d20ab3014e07004c58dd41e1effbe8789419481c
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 KB
Contents
table.table.table-striped.index_table#list thead tr.pjax_links = batch_action_toggle th= list_sort_link(:id) th= list_sort_link(:email) th= ha :avatar th= list_sort_link(:user_role_id) th= list_sort_link(:first_name) th= list_sort_link(:last_name) th= list_sort_link(:phone) th= list_sort_link(:skype) th= list_sort_link(:created_at) th=t 'admin.table.actions' tbody - collection.each do |item| tr = batch_action_item(item) td= id_link(item) td= mail_to item.email td= item_image_link(item, assoc: :avatar) td= item.user_role_type.try(:title) td= item.first_name td= item.last_name td= item.phone td= skype_link item.skype td= pretty_data item.created_at td.actions = item_index_actions(item) - if item.active_for_authentication? = link_to t('admin.actions.suspend.link'), suspend_admin_user_path(item), method: :post, class: 'btn btn-warning' - else = link_to icon('ok', true), activate_admin_user_path(item), method: :post, class: 'btn btn-success', title: t('admin.actions.activate.link')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ab_admin-0.4.0 | app/views/admin/users/_table.html.slim |