diff --git a/app/views/organisations/data_sharing_agreement.html.erb b/app/views/organisations/data_sharing_agreement.html.erb index ea752ce7b..5e2791760 100644 --- a/app/views/organisations/data_sharing_agreement.html.erb +++ b/app/views/organisations/data_sharing_agreement.html.erb @@ -1,5 +1,9 @@ <%= content_for :title, "Data sharing agreement" %> +<% content_for :before_content do %> + <%= govuk_back_link(href: :back) %> +<% end %> +

diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 82fd950bc..b4b4db85d 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -1,5 +1,9 @@ <% content_for :title, current_user == @user ? "Your account" : "#{@user.name.presence || @user.email}’s account" %> +<% content_for :before_content do %> + <%= govuk_back_link(href: :back) %> +<% end %> +