|
|
|
@ -1,10 +1,17 @@
|
|
|
|
|
<% title = @scheme.service_name %> |
|
|
|
|
<% content_for :title, title %> |
|
|
|
|
|
|
|
|
|
<% content_for :before_content do %> |
|
|
|
|
<%= govuk_back_link( |
|
|
|
|
href: "/schemes", |
|
|
|
|
) %> |
|
|
|
|
<% if current_user.support? %> |
|
|
|
|
<% content_for :breadcrumbs, govuk_breadcrumbs(breadcrumbs: { |
|
|
|
|
"Schemes (#{@scheme.owning_organisation.name})" => schemes_organisation_path(@scheme.owning_organisation), |
|
|
|
|
content_for(:title) => "", |
|
|
|
|
}) %> |
|
|
|
|
<% else %> |
|
|
|
|
<% content_for :before_content do %> |
|
|
|
|
<%= govuk_back_link( |
|
|
|
|
href: schemes_path, |
|
|
|
|
) %> |
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<%= render partial: "organisations/headings", locals: { main: @scheme.service_name, sub: nil } %> |
|
|
|
|