Browse Source

lint erb

pull/557/head
Kat 3 years ago
parent
commit
9f3610d4cf
  1. 2
      app/views/layouts/application.html.erb
  2. 1
      app/views/organisations/_organisation_list.html.erb
  3. 2
      app/views/organisations/show.html.erb

2
app/views/layouts/application.html.erb

@ -67,7 +67,7 @@
<% if !current_user.nil? %> <% if !current_user.nil? %>
<%= render NavigationComponent.new( <%= render NavigationComponent.new(
items: primary_items(request.path, current_user), items: primary_items(request.path, current_user),
level: "primary" level: "primary",
) %> ) %>
<% end %> <% end %>

1
app/views/organisations/_organisation_list.html.erb

@ -25,4 +25,3 @@
<% end %> <% end %>
<% end %> <% end %>
<% end %> <% end %>

2
app/views/organisations/show.html.erb

@ -9,7 +9,7 @@
<div class="govuk-!-margin-bottom-4"> <div class="govuk-!-margin-bottom-4">
<%= render NavigationComponent.new( <%= render NavigationComponent.new(
items: secondary_items(request.path, @organisation.id), items: secondary_items(request.path, @organisation.id),
level: "sub" level: "sub",
) %> ) %>
</div> </div>
<div class="govuk-grid-column-two-thirds-from-desktop"> <div class="govuk-grid-column-two-thirds-from-desktop">

Loading…
Cancel
Save