Sha256: 17cf77e335a94490e6888ff6d648ed5c33f7ed052e0c55e7ef55d7c6e9056c6e
Contents?: true
Size: 1.08 KB
Versions: 46
Compression:
Stored size: 1.08 KB
Contents
<div class="card__footer"> <div class="card__support"> <% if admin_membership? %> <%= link_to( t("decidim.group_admins.actions.demote_admin"), decidim.demote_group_manage_admin_path(model.user_group.nickname, model), method: :post, data: { confirm: t("decidim.group_admins.actions.are_you_sure") }, class: "card__button button button--sc small" ) %> <% else %> <%= link_to( t("decidim.group_members.actions.promote_to_admin"), decidim.promote_group_manage_user_path(model.user_group.nickname, model), method: :post, data: { confirm: t("decidim.group_members.actions.are_you_sure") }, class: "card__button button button--sc small" ) %> <%= link_to( t("decidim.group_members.actions.remove_from_group"), decidim.group_manage_user_path(model.user_group.nickname, model), method: :delete, data: { confirm: t("decidim.group_members.actions.are_you_sure") }, class: "card__button button button--sc small" ) %> <% end %> </div> </div>
Version data entries
46 entries across 46 versions & 1 rubygems