Sha256: 6f5b01252d6347ad54b870282c21ca760aa5de34ab34220402e0eccf4b61fbb4

Contents?: true

Size: 1.71 KB

Versions: 14

Compression:

Stored size: 1.71 KB

Contents

<div class="card">
  <div class="card-divider">
    <h2 class="card-title">
      <%= t "decidim.admin.titles.participatory_process_groups" %>
      <%= link_to t("actions.new", scope: "decidim.admin", name: t("models.participatory_process_group.name", scope: "decidim.admin")), ['new', 'participatory_process_group'], class: 'button tiny button--title new' if can? :create, Decidim::ParticipatoryProcessGroup %>
    </h2>
  </div>
  <div class="card-section">
    <div class="table-scroll">
      <table class="table-list">
        <thead>
          <tr>
            <th><%= t("models.participatory_process_group.fields.name", scope: "decidim.admin") %></th>
            <th></th>
          </tr>
        </thead>
        <tbody>
          <% collection.each do |group| %>
            <tr>
              <td>
                <%= link_to translated_attribute(group.name), ['edit', group] %><br />
              </td>
              <td class="table-list__actions">
                <% if can? :update, group %>
                  <%= icon_link_to "pencil", ['edit', group], t("actions.edit", scope: "decidim.admin"), class: "action-icon--edit" %>
                <% end %>

                <%= icon_link_to "eye", decidim.participatory_process_group_path(group), t("actions.preview", scope: "decidim.admin"), class: "action-icon--preview" %>

                <% if can? :destroy, group %>
                  <%= icon_link_to "circle-x", group, t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } %>
                <% end %>
              </td>
            </tr>
          <% end %>
        </tbody>
      </table>
    </div>
  </div>
</div>

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
decidim-admin-0.4.0 app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-0.4.0 decidim-admin/app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-admin-0.3.2 app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-0.3.2 decidim-admin/app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-admin-0.3.1 app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-0.3.1 decidim-admin/app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-admin-0.3.0 app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-0.3.0 decidim-admin/app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-admin-0.2.0 app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-0.2.0 decidim-admin/app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-admin-0.1.0 app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-0.1.0 decidim-admin/app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-admin-0.0.8.1 app/views/decidim/admin/participatory_process_groups/index.html.erb
decidim-0.0.8.1 decidim-admin/app/views/decidim/admin/participatory_process_groups/index.html.erb