Sha256: 70689684f71817448a465d9f176cf45f77be3c752bd991dd003667d17dd733f4
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
<%= render 'backend/breadcrumbs' %> <%= render 'filter' %> <p class="text-xs-right"> <%= link_to icon(:plus, t('b.add')), new_backend_user_path, class: 'btn btn-primary btn-sm' %> </p> <% if @users.any? %> <table class="table table-hover table-striped"> <thead class="thead-inverse"> <tr> <th><%= t 'b.name' %></th> <th><%= t 'b.email' %></th> <th><%= t 'b.active' %></th> <th> </th> </tr> </thead> <tbody> <% @users.each do |u| %> <tr class="<%= 'text-muted' unless u.active? %>"> <td><%= u.full_name %></td> <td><%= mail_to u.email %></td> <td><%= t u.active?.to_s %></td> <td class="text-xs-right"> <%= link_to icon(:pencil_square_o), edit_backend_user_path(u) %> <%= link_to icon(:trash), backend_user_path(u), method: :delete, data: {confirm: t('b.msg.confirm') }%> </td> </tr> <% end %> </tbody> </table> <%= udongo_paginate @users %> <% else %> <p><%= t 'b.msg.no_items' %></p> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
udongo-5.1.0 | app/views/backend/users/index.html.erb |