<% content_for :before_content do %> <%= govuk_back_link( text: 'Back', href: :back, ) %> <% end %> <%= form_for(current_user, as: :user, url: account_update_path(), html: { method: :patch }) do |f| %>

Change your personal details

<%= f.govuk_text_field :name, autocomplete: "name" %> <%= f.govuk_email_field :email, label: { text: "Email address" }, autocomplete: "email" %> <%= f.govuk_submit "Save changes" %>
<% end %>