Sha256: b28b4c0df5d33adb40a8fa04b57adfe417af7e9c0f9211bff33c63a0aa6c86dd
Contents?: true
Size: 1.68 KB
Versions: 2
Compression:
Stored size: 1.68 KB
Contents
<div class="card"> <div class="card-divider"> <h2 class="card-title"> <%= t(".title") %> <%= link_to t(".granted_authorizations"), granted_authorizations_path, class: "button tiny button--title" %> </h2> </div> <div class="card-section"> <table class="table-list"> <thead> <tr> <th><%= t(".name") %></th> <th><%= t(".nickname") %></th> <th></th> </tr> </thead> <tbody> <% @pending_authorizations.each do |authorization| %> <tr> <td> <%= authorization.user.name %> </td> <td> <%= authorization.user.nickname %> </td> <td class="table-list__actions"> <%= icon_link_to "person", decidim.profile_path(authorization.user.nickname), t("layouts.decidim.user_profile.account"), class:"action-icon--show", target: "_blank" %> <%= icon_link_to "circle-check", pending_authorization_path(authorization.id), t(".approve_request"), method: :patch, class: "action-icon--verify" %> <%= icon_link_to "circle-x", pending_authorization_path(authorization.id), t(".reject_request"), method: :delete, class: "action-icon--reject" %> </td> </tr> <% end %> </tbody> </table> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems