Sha256: c56d5d3125fa7a3034ea2aa23ad0197d5893c069af2dbf0ce33b0a92ee43cac4
Contents?: true
Size: 902 Bytes
Versions: 13
Compression:
Stored size: 902 Bytes
Contents
<%= render 'backend/breadcrumbs' %> <p class="text-xs-right"> <%= link_to icon(:plus, t('b.add')), new_backend_admin_path, class: 'btn btn-primary btn-sm' %> </p> <% if @admins.any? %> <table class="table table-hover table-striped"> <thead class="thead-inverse"> <tr> <th><%= t 'b.name' %></th> <th><%= t 'b.email' %></th> <th> </th> </tr> </thead> <tbody> <% @admins.each do |a| %> <tr> <td><%= a.full_name %></td> <td><%= mail_to a.email %></td> <td class="text-xs-right"> <%= link_to icon(:pencil_square_o), edit_backend_admin_path(a) %> <%= link_to icon(:trash), backend_admin_path(a), method: :delete, data: { confirm: t('b.msg.confirm') }%> </td> </tr> <% end %> </tbody> </table> <% else %> <p><%= t 'b.msg.no_items' %></p> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems