Sha256: 4ff4b09d6eb8487e88a191b9babaef4be79eeda9d77d181345b205303c566c7f

Contents?: true

Size: 1.22 KB

Versions: 20

Compression:

Stored size: 1.22 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.organization.name", scope: "decidim.system")), ['new', 'organization'], class: 'new' %>
</div>

<table class="stack">
  <thead>
    <tr>
      <th><%= t("models.organization.fields.name", scope: "decidim.system") %></th>
      <th><%= t("models.organization.fields.created_at", scope: "decidim.system") %></th>
      <th class="actions"><%= t("actions.title", scope: "decidim.system") %></th>
    </tr>
  </thead>
  <tbody>
    <% @organizations.each do |organization| %>
      <tr>
        <td>
          <%= link_to organization.name, organization %><br />
          <%= organization.host %>
        </td>
        <td>
          <%= l organization.created_at, format: :short %>
        </td>
        <td class="actions">
          <%= link_to t("actions.edit", scope: "decidim.system"), ['edit', organization] %>
          <%= link_to t("actions.destroy", scope: "decidim.system"), organization, 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/organizations/index.html.erb
decidim-0.0.3 decidim-system/app/views/decidim/system/organizations/index.html.erb
decidim-system-0.0.2 app/views/decidim/system/organizations/index.html.erb
decidim-0.0.2 decidim-system/app/views/decidim/system/organizations/index.html.erb
decidim-system-0.0.1 app/views/decidim/system/organizations/index.html.erb
decidim-0.0.1 decidim-system/app/views/decidim/system/organizations/index.html.erb
decidim-system-0.0.1.alpha9 app/views/decidim/system/organizations/index.html.erb
decidim-0.0.1.alpha9 decidim-system/app/views/decidim/system/organizations/index.html.erb
decidim-system-0.0.1.alpha8 app/views/decidim/system/organizations/index.html.erb
decidim-0.0.1.alpha8 decidim-system/app/views/decidim/system/organizations/index.html.erb
decidim-system-0.0.1.alpha7 app/views/decidim/system/organizations/index.html.erb
decidim-0.0.1.alpha7 decidim-system/app/views/decidim/system/organizations/index.html.erb
decidim-system-0.0.1.alpha6 app/views/decidim/system/organizations/index.html.erb
decidim-0.0.1.alpha6 decidim-system/app/views/decidim/system/organizations/index.html.erb
decidim-system-0.0.1.alpha5 app/views/decidim/system/organizations/index.html.erb
decidim-0.0.1.alpha5 decidim-system/app/views/decidim/system/organizations/index.html.erb
decidim-system-0.0.1.alpha4 app/views/decidim/system/organizations/index.html.erb
decidim-0.0.1.alpha4 decidim-system/app/views/decidim/system/organizations/index.html.erb
decidim-system-0.0.1.alpha3 app/views/decidim/system/organizations/index.html.erb
decidim-0.0.1.alpha3 decidim-system/app/views/decidim/system/organizations/index.html.erb