diff --git a/app/views/admin/organizations/index.html.erb b/app/views/admin/organizations/index.html.erb index b22dfdbc9..74d0bc220 100644 --- a/app/views/admin/organizations/index.html.erb +++ b/app/views/admin/organizations/index.html.erb @@ -1,48 +1,44 @@ -
+ <%= t('admin.organizations.index.filter') %>: -
- <%= t('admin.organizations.index.filter') %>: - - <% @valid_filters.each do |filter| %> - <% if @filter == filter %> - <%= t("admin.organizations.index.filters.#{filter}") %> - <% else %> - <%= link_to t("admin.organizations.index.filters.#{filter}"), - admin_organizations_path(filter: filter) %> - <% end %> + <% @valid_filters.each do |filter| %> + <% if @filter == filter %> + <%= t("admin.organizations.index.filters.#{filter}") %> + <% else %> + <%= link_to t("admin.organizations.index.filters.#{filter}"), + admin_organizations_path(filter: filter) %> <% end %> -
- -| <%= organization.name %> | -<%= organization.email %> | -<%= organization.phone_number %> | - <% if organization.verified? %> -<%= t('admin.organizations.index.verified') %> | - <% end %> - <% if can? :verify, organization %> -<%= link_to t('admin.organizations.index.verify'), - verify_admin_organization_path(organization, filter: @filter), - method: :put - %> - | - <% end %> - <% if organization.rejected? %> -<%= t('admin.organizations.index.rejected') %> | - <% end %> - <% if can? :reject, organization %> -<%= link_to t('admin.organizations.index.reject'), - reject_admin_organization_path(organization, filter: @filter), - method: :put - %> - | - <% end %> -
| <%= organization.name %> | +<%= organization.email %> | +<%= organization.phone_number %> | + <% if organization.verified? %> +<%= t('admin.organizations.index.verified') %> | + <% end %> + <% if can? :verify, organization %> +<%= link_to t('admin.organizations.index.verify'), + verify_admin_organization_path(organization, filter: @filter), + method: :put + %> + | + <% end %> + <% if organization.rejected? %> +<%= t('admin.organizations.index.rejected') %> | + <% end %> + <% if can? :reject, organization %> +<%= link_to t('admin.organizations.index.reject'), + reject_admin_organization_path(organization, filter: @filter), + method: :put + %> + | + <% end %> +