Sha256: 4191a0a94274937547e9efc8852be43c5742919258bb7b55fe39c4e4be2e829e
Contents?: true
Size: 1.45 KB
Versions: 2
Compression:
Stored size: 1.45 KB
Contents
<% provide :title do %> <h2><%= t "decidim.admin.titles.participatory_process_groups" %></h2> <% end %> <div class="actions title"> <%= link_to t("actions.new", scope: "decidim.admin", name: t("models.participatory_process_group.name", scope: "decidim.admin")), ['new', 'participatory_process_group'], class: 'new' if can? :create, Decidim::ParticipatoryProcessGroup %> </div> <table class="stack"> <thead> <tr> <th><%= t("models.participatory_process_group.fields.name", scope: "decidim.admin") %></th> <th class="actions"><%= t("actions.title", scope: "decidim.admin") %></th> </tr> </thead> <tbody> <% collection.each do |group| %> <tr> <td> <%= link_to translated_attribute(group.name), group %><br /> </td> <td class="actions"> <% if can? :preview, group %> <%= link_to t("actions.preview", scope: "decidim.admin"), decidim.participatory_process_group_path(group) %> <% end %> <% if can? :update, group %> <%= link_to t("actions.edit", scope: "decidim.admin"), ['edit', group], class: "small button secondary" %> <% end %> <% if can? :destroy, group %> <%= link_to t("actions.destroy", scope: "decidim.admin"), group, method: :delete, class: "small alert button", data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } %> <% end %> </td> </tr> <% end %> </tbody> </table>
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
decidim-admin-0.0.6 | app/views/decidim/admin/participatory_process_groups/index.html.erb |
decidim-0.0.6 | decidim-admin/app/views/decidim/admin/participatory_process_groups/index.html.erb |