diff --git a/app/views/admin/partners/edit.html.erb b/app/views/admin/partners/edit.html.erb index a79662296..2d2c5ade7 100644 --- a/app/views/admin/partners/edit.html.erb +++ b/app/views/admin/partners/edit.html.erb @@ -1,18 +1,16 @@ <% content_for :title do %>Editing <%= @partner.name %><% end %>

Edit Partner: <%= @partner.name %>

-<% if current_user.root? -%> -

ID: <%= @partner.id %>

- <%# Show the Neighbourhood the partner is related to via Address %> - <% if @partner.address&.neighbourhood&.present? -%> -

Address in neighbourhood <%= link_to_neighbourhood(@partner.address.neighbourhood) %>.

- <% end -%> +

ID: <%= @partner.id %>

+<%# Show the Neighbourhood the partner is related to via Address %> +<% if @partner.address&.neighbourhood&.present? -%> +

Address in neighbourhood <%= link_to_neighbourhood(@partner.address.neighbourhood) %>.

+<% end -%> - <%# Show a list of Service Areas that the partner is related to %> - <% if @partner.service_areas.any? -%> -

In service areas <%= service_area_links(@partner) %>.

- <% end -%> -<% end %> +<%# Show a list of Service Areas that the partner is related to %> +<% if @partner.service_areas.any? -%> +

In service areas <%= service_area_links(@partner) %>.

+<% end -%> <%# Show a list of sites that the partner is related to %>