Sha256: d4328c9374daccb6230eee619f84e8104bcdbc4578174473e7103f5a12045900

Contents?: true

Size: 800 Bytes

Versions: 13

Compression:

Stored size: 800 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>&nbsp;</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_edit [:backend, a] %>
            <%= link_to_delete [:backend, a] %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>

<% else %>
  <p><%= t 'b.msg.no_items' %></p>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
udongo-5.9.0 app/views/backend/admins/index.html.erb
udongo-5.8.0 app/views/backend/admins/index.html.erb
udongo-5.7.0 app/views/backend/admins/index.html.erb
udongo-5.6.0 app/views/backend/admins/index.html.erb
udongo-5.5.0 app/views/backend/admins/index.html.erb
udongo-5.4.0 app/views/backend/admins/index.html.erb
udongo-5.3.1 app/views/backend/admins/index.html.erb
udongo-5.3.0 app/views/backend/admins/index.html.erb
udongo-5.2.0 app/views/backend/admins/index.html.erb
udongo-5.1.0 app/views/backend/admins/index.html.erb
udongo-5.0.2 app/views/backend/admins/index.html.erb
udongo-5.0.1 app/views/backend/admins/index.html.erb
udongo-5.0.0 app/views/backend/admins/index.html.erb