Sha256: 3612bc7bf065b652225002219b92ea07433428ad30a7ee923bf3b8ba157136a3

Contents?: true

Size: 933 Bytes

Versions: 7

Compression:

Stored size: 933 Bytes

Contents

<table>
  <thead>
    <tr>
      <th><%= t("models.admin.fields.email", scope: "decidim.system") %></th>
      <th><%= t("models.admin.fields.created_at", scope: "decidim.system") %></th>
      <th class="actions"><%= t("actions.title", scope: "decidim.system") %></th>
    </tr>
  </thead>
  <tbody>
    <% admins.each do |admin| %>
      <tr>
        <td>
          <%= link_to admin.email, edit_admin_path(admin) %><br>
        </td>
        <td>
          <%= l admin.created_at, format: :short %>
        </td>
        <td class="actions">
          <%= link_to t("actions.edit", scope: "decidim.system"), edit_admin_path(admin) %>
          <% unless current_admin?(admin) %>
            <%= link_to t("actions.destroy", scope: "decidim.system"), admin, method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.system") } %>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-system-0.28.4 app/views/decidim/system/shared/_admins_list.html.erb
decidim-system-0.28.3 app/views/decidim/system/shared/_admins_list.html.erb
decidim-system-0.28.2 app/views/decidim/system/shared/_admins_list.html.erb
decidim-system-0.28.1 app/views/decidim/system/shared/_admins_list.html.erb
decidim-system-0.28.0 app/views/decidim/system/shared/_admins_list.html.erb
decidim-system-0.28.0.rc5 app/views/decidim/system/shared/_admins_list.html.erb
decidim-system-0.28.0.rc4 app/views/decidim/system/shared/_admins_list.html.erb