app/views/devise/sessions/new.html.haml
= content_for :page_title, flush: true do
= t('.page_title')
= render partial: 'layouts/header', locals: {page_heading: t('.page_heading')}
.govuk-grid-row
.govuk-grid-column-two-thirds
= form_with(model: resource, as: resource_name, url: session_path(resource_name), html: { autocomplete: 'off' }) do |f|
= f.govuk_text_field :email, label: { text: t('.email') }, autofocus: true
= f.govuk_password_field :password, label: { text: t('.password') }, autocomplete: 'off'
= f.govuk_submit t('.sign_in')
= render "devise/shared/links"