|
|
|
@ -1,25 +1,20 @@
|
|
|
|
|
<h2>Log in</h2> |
|
|
|
|
|
|
|
|
|
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> |
|
|
|
|
<div class="field"> |
|
|
|
|
<%= f.label :email %><br /> |
|
|
|
|
<%= f.email_field :email, autofocus: true, autocomplete: "email" %> |
|
|
|
|
</div> |
|
|
|
|
<div class="govuk-grid-row"> |
|
|
|
|
<div class="govuk-grid-column-two-thirds"> |
|
|
|
|
<h1 class="govuk-heading-l">Sign in to your account to submit CORE data</h1> |
|
|
|
|
|
|
|
|
|
<div class="govuk-form-group"> |
|
|
|
|
<%= f.label :email, "Email address", class: "govuk-label" %> |
|
|
|
|
<%= f.email_field :email, autofocus: true, autocomplete: "email", class: "govuk-input" %> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="field"> |
|
|
|
|
<%= f.label :password %><br /> |
|
|
|
|
<%= f.password_field :password, autocomplete: "current-password" %> |
|
|
|
|
</div> |
|
|
|
|
<div class="govuk-form-group"> |
|
|
|
|
<%= f.label :password, class: "govuk-label" %> |
|
|
|
|
<%= f.password_field :password, autocomplete: "current-password", class: "govuk-input" %> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<% if devise_mapping.rememberable? %> |
|
|
|
|
<div class="field"> |
|
|
|
|
<%= f.check_box :remember_me %> |
|
|
|
|
<%= f.label :remember_me %> |
|
|
|
|
<%= f.submit "Sign in", class: "govuk-button" %> |
|
|
|
|
</div> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<div class="actions"> |
|
|
|
|
<%= f.submit "Log in" %> |
|
|
|
|
</div> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|