7 changed files with 57 additions and 33 deletions
@ -1,16 +1,17 @@ |
|||||||
<% content_for :content do %> |
<%# <% content_for :content do %1> %> |
||||||
<h1 class="govuk-heading-l"> |
<%# <h1 class="govuk-heading-l"> %> |
||||||
<% if current_user.support? && request.path != "/organisations" %> |
<%# <% if current_user.support? && request.path != "/organisations" %1> %> |
||||||
<span class="govuk-caption-l"><%= @organisation.name %></span> |
<%# <span class="govuk-caption-l"><%= @organisation.name %1></span> %> |
||||||
<% end %> |
<%# <% end %1> %> |
||||||
<%= content_for(:title) %> |
<%# <%= content_for(:title) %1> %> |
||||||
</h1> |
<%# </h1> %> |
||||||
|
|
||||||
<% items = tab_items(current_user) %> |
<%# <% items = tab_items(current_user) %1> %> |
||||||
|
|
||||||
<h2 class="govuk-visually-hidden"><%= content_for(:tab_title) %></h2> |
<%# <h2 class="govuk-visually-hidden"><%= content_for(:tab_title) %1></h2> %> |
||||||
|
|
||||||
<%= content_for?(:organisations_content) ? yield(:organisations_content) : yield %> |
<%# <%= content_for?(:organisations_content) ? yield(:organisations_content) : yield %1> %> |
||||||
<% end %> |
<%# <% end %1> %> |
||||||
|
<%# <%= content_for?(:organisations_content) ? yield(:organisations_content) : yield %1> %> |
||||||
|
|
||||||
<%= render template: "layouts/application" %> |
<%= render template: "layouts/application" %> |
||||||
|
Loading…
Reference in new issue