Sha256: 4ea609f9f3d585f556a6e614ea76ef6836430fae373c3546e8f4860810aa4282

Contents?: true

Size: 1.11 KB

Versions: 20

Compression:

Stored size: 1.11 KB

Contents

<% content_for :title do %>
  <h2><%= t ".title" %></h2>
<% end %>

<div class="actions title">
  <%= link_to t("actions.new", scope: "decidim.system", name: t("models.admin.name", scope: "decidim.system")), ['new', 'admin'], class: 'new' %>
</div>

<table class="stack">
  <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, admin %><br />
        </td>
        <td>
          <%= l admin.created_at, format: :short %>
        </td>
        <td class="actions">
          <%= link_to t("actions.edit", scope: "decidim.system"), ['edit', admin] %>
          <%= link_to t("actions.destroy", scope: "decidim.system"), admin, method: :delete, class: "small alert button", data: { confirm: t("actions.confirm_destroy", scope: "decidim.system") } %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
decidim-system-0.0.3 app/views/decidim/system/admins/index.html.erb
decidim-0.0.3 decidim-system/app/views/decidim/system/admins/index.html.erb
decidim-system-0.0.2 app/views/decidim/system/admins/index.html.erb
decidim-0.0.2 decidim-system/app/views/decidim/system/admins/index.html.erb
decidim-system-0.0.1 app/views/decidim/system/admins/index.html.erb
decidim-0.0.1 decidim-system/app/views/decidim/system/admins/index.html.erb
decidim-system-0.0.1.alpha9 app/views/decidim/system/admins/index.html.erb
decidim-0.0.1.alpha9 decidim-system/app/views/decidim/system/admins/index.html.erb
decidim-system-0.0.1.alpha8 app/views/decidim/system/admins/index.html.erb
decidim-0.0.1.alpha8 decidim-system/app/views/decidim/system/admins/index.html.erb
decidim-system-0.0.1.alpha7 app/views/decidim/system/admins/index.html.erb
decidim-0.0.1.alpha7 decidim-system/app/views/decidim/system/admins/index.html.erb
decidim-system-0.0.1.alpha6 app/views/decidim/system/admins/index.html.erb
decidim-0.0.1.alpha6 decidim-system/app/views/decidim/system/admins/index.html.erb
decidim-system-0.0.1.alpha5 app/views/decidim/system/admins/index.html.erb
decidim-0.0.1.alpha5 decidim-system/app/views/decidim/system/admins/index.html.erb
decidim-system-0.0.1.alpha4 app/views/decidim/system/admins/index.html.erb
decidim-0.0.1.alpha4 decidim-system/app/views/decidim/system/admins/index.html.erb
decidim-system-0.0.1.alpha3 app/views/decidim/system/admins/index.html.erb
decidim-0.0.1.alpha3 decidim-system/app/views/decidim/system/admins/index.html.erb