Sha256: 77dc1747ba88c7ccbe0e3d0775bb74452823278ce7f4cd3a36376b7443bf6ceb
Contents?: true
Size: 1.89 KB
Versions: 4
Compression:
Stored size: 1.89 KB
Contents
<div class="card with-overflow" id='user-groups'> <div class="card-divider"> <h2 class="card-title"> <%= link_to translated_attribute(current_setting.title), decidim_admin_action_delegator.settings_path %> > <%= t ".title" %> <%= link_to t(".actions.new_delegation"), decidim_admin_action_delegator.new_setting_delegation_path(current_setting), class: "button tiny button--title" %> <%= link_to t(".actions.csv_import"), decidim_admin_action_delegator.new_setting_manage_delegation_path(current_setting), class: "button tiny button--title import" %> </h2> </div> <div class="card-section"> <p class="help-text"><%= t ".description_html" %></p> <div class="table-scroll"> <table class="table-list"> <thead> <tr> <th><%= t(".granter") %></th> <th><%= t(".grantee") %></th> <th><%= t(".grantee_voted") %></th> <th><%= t(".created_at") %></th> <th> </th> </tr> </thead> <tbody> <% delegations.each do |delegation| %> <tr data-delegation-id="<%= delegation.id %>"> <td><%= delegation.granter.name %></td> <td><%= delegation.grantee.name %></td> <td><%= t("booleans.#{delegation.grantee_voted?}") %></td> <td><%= l delegation.created_at, format: :short %></td> <td class="table-list__actions"> <%= icon_link_to "circle-x", decidim_admin_action_delegator.setting_delegation_path(delegation.setting, delegation), t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } unless delegation.grantee_voted? %> </td> </tr> <% end %> </tbody> </table> </div> <%= decidim_paginate delegations %> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems