Sign up

<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> <%= render "devise/shared/error_messages", resource: resource %> <%= f.govuk_email_field :email, label: { text: "Email address" }, autocomplete: "email" %> <%= f.govuk_password_field :password, hint: @minimum_password_length ? { text: "#{@minimum_password_length} characters minimum" } : nil, autocomplete: "new-password" %> <%= f.govuk_password_field :password_confirmation, autocomplete: "new-password" %> <%= f.govuk_submit "Sign up" %> <% end %> <%= render "devise/shared/links" %>