Sha256: 508ec3e73a4d62781309f572dc323178b29c2ee546f1d1b78067fb4643c851aa

Contents?: true

Size: 901 Bytes

Versions: 6

Compression:

Stored size: 901 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><%= 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>
          <%= 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

6 entries across 6 versions & 1 rubygems

Version Path
decidim-system-0.29.1 app/views/decidim/system/shared/_admins_list.html.erb
decidim-system-0.29.0 app/views/decidim/system/shared/_admins_list.html.erb
decidim-system-0.29.0.rc4 app/views/decidim/system/shared/_admins_list.html.erb
decidim-system-0.29.0.rc3 app/views/decidim/system/shared/_admins_list.html.erb
decidim-system-0.29.0.rc2 app/views/decidim/system/shared/_admins_list.html.erb
decidim-system-0.29.0.rc1 app/views/decidim/system/shared/_admins_list.html.erb