Browse Source

refactor: erb linting

pull/950/head
natdeanlewissoftwire 3 years ago
parent
commit
cbf2de98f1
  1. 5
      app/views/organisation_relationships/housing_providers.html.erb

5
app/views/organisation_relationships/housing_providers.html.erb

@ -3,9 +3,7 @@
<% content_for :title, title %> <% content_for :title, title %>
<% if current_user.support? %> <% if current_user.support? %>
<%= render partial: "organisations/headings", locals: { main: @organisation.name, sub: nil } %> <%= render partial: "organisations/headings", locals: { main: @organisation.name, sub: nil } %>
<%= render SubNavigationComponent.new( <%= render SubNavigationComponent.new(items: secondary_items(request.path, @organisation.id)) %>
items: secondary_items(request.path, @organisation.id),
) %>
<h2 class="govuk-visually-hidden">Housing Providers</h2> <h2 class="govuk-visually-hidden">Housing Providers</h2>
<p class="govuk-body">This organisation can submit logs for its housing providers.</p> <p class="govuk-body">This organisation can submit logs for its housing providers.</p>
<% else %> <% else %>
@ -14,7 +12,6 @@
<p class="govuk-body">Your organisation can submit logs for its housing providers.</p> <p class="govuk-body">Your organisation can submit logs for its housing providers.</p>
<% end %> <% end %>
<% if @total_count == 0 %> <% if @total_count == 0 %>
<p class="govuk-body">This organisation does not currently have any housing providers.</p> <p class="govuk-body">This organisation does not currently have any housing providers.</p>
<% end %> <% end %>

Loading…
Cancel
Save