Browse Source

Merge pull request #131 from communitiesuk/remove-back-links

Remove back link from organisation page
pull/126/head
Paul Robert Lloyd 3 years ago committed by GitHub
parent
commit
8ffe41dd91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/layouts/application.html.erb
  2. 7
      app/views/layouts/organisations.html.erb

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

@ -52,9 +52,7 @@
text: "This is a new service – #{govuk_mail_to("test@mhclg.gov.uk", "give feedback or report a problem", subject: "Feedback about Lettings and Sales of Social Housing in England Data Collection")}".html_safe
) %>
<div role="navigation">
<%= content_for(:before_content) %>
</div>
<main class="govuk-main-wrapper" id="main-content" role="main">
<% if flash.notice %>

7
app/views/layouts/organisations.html.erb

@ -1,10 +1,3 @@
<% content_for :before_content do %>
<%= govuk_back_link(
text: 'Back',
href: :back,
) %>
<% end %>
<% content_for :content do %>
<h1 class="govuk-heading-l">
Your organisation

Loading…
Cancel
Save