| <%= organization.name %> |
<%= organization.email %> |
<%= organization.phone_number %> |
<%= organization.responsible_name %> |
<% if organization.verified? %>
<%= t("admin.organizations.index.verified") %>
<% elsif organization.rejected? %>
<%= t("admin.organizations.index.rejected") %>
<% else %>
<%= t("admin.organizations.index.pending") %>
<% end %>
|
<% if can? :verify, organization %>
<%= link_to t("admin.organizations.index.verify"),
verify_admin_organization_path(organization, request.query_parameters),
method: :put, class: "button success small-5" %>
<% end %>
<% if can? :reject, organization %>
<%= link_to t("admin.organizations.index.reject"),
reject_admin_organization_path(organization, request.query_parameters),
method: :put, class: "button hollow alert small-5"%>
<% end %>
|
<% end %>