<h2>Log in</h2>

<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name), html: {class: "pure-form pure-form-stacked"}) do |f| %>
  <div class="form-inputs">
    <%= f.input :email, required: false, autofocus: true, input_html: {class: "pure-u-1-1"} %>
    <%= f.input :password, required: false, input_html: {class: "pure-u-1-1"} %>
    <%= f.input :remember_me, as: :boolean, label_html: {class: "pure-checkbox"}, if devise_mapping.rememberable? %>
  </div>

  <div class="form-actions">
    <%= f.button :submit, "Log in", class: "pure-button pure-button-primary" %>
  </div>
<% end %>

<%= render "devise/shared/links" %>

<h2>Log in</h2>

<%= simple_form_for(resource, as: resource_name, url: session_path(resource_name), html: {class: "pure-form pure-form-stacked"}) do |f| %>
  <div class="form-inputs">
    <%= f.input :email, required: false, autofocus: true, input_html: {class: "pure-u-1-1"} %>
    <%= f.input :password, required: false, input_html: {class: "pure-u-1-1"} %>
    <%= f.input :remember_me, as: :boolean, label_html: {class: "pure-checkbox"} if devise_mapping.rememberable? %>
  </div>

  <div class="form-actions">
    <%= f.button :submit, "Log in", class: "pure-button pure-button-primary" %>
  </div>
<% end %>

<%= render "devise/shared/links" %>

Fix syntax error in sign in form
Fix syntax error in sign in form
