<div id="login" class="reveal-modal login-modal medium" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <a class="close-reveal-modal" aria-label="Close">&#215;</a>
        <h2 class="modal-title" id="myModalLabel">Please log in to continue.</h2>
        <div>
          <h4>Don't have an account?
            <span class="click-register">
              <a>Click here to register</a>
            </span>
          </h4>
        </div>
      </div>
      </br>


        <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
          <div class="field">
            <%= f.label :email %>
            <%= f.email_field :email, autofocus: true %>
          </div>

          <div class="field">
            <%= f.label :password %>
            <%= f.password_field :password, autocomplete: "off" %>
          </div>

          <% if devise_mapping.rememberable? -%>
            <div class="field">
              <%= f.check_box :remember_me %>
              <%= f.label :remember_me %>
            </div>
          <% end -%>

          <div class="actions">
            <%= f.submit "Login", class: 'button success radius small' %>
          </div>

          <div>
            <%= link_to "Forgot your password?", new_password_path(:user) %>
          </div>
        <% end %>
    </div>
  </div>
</div>

<div id="login" class="reveal-modal login-modal medium" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <a class="close-reveal-modal" aria-label="Close">&#215;</a>
        <h2 class="modal-title" id="myModalLabel">Please log in to continue.</h2>
        <div>
          <h4>Don't have an account?
            <span class="click-register">
              <a>Click here to register</a>
            </span>
          </h4>
        </div>
      </div>
      </br>


        <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
          <div class="field">
            <%= f.label :email %>
            <%= f.email_field :email, autofocus: true %>
          </div>

          <div class="field">
            <%= f.label :password %>
            <%= f.password_field :password, autocomplete: "off" %>
          </div>

          <% if devise_mapping.rememberable? -%>
            <div class="field">
              <%= f.check_box :remember_me %>
              <%= f.label :remember_me %>
            </div>
          <% end -%>

          <div class="actions">
            <%= f.submit "Login", class: 'button success radius small' %>
          </div>

          <!-- TODO: Forgot your password setup -->

        <% end %>
    </div>
  </div>
</div>

Delete forgot your password link
Delete forgot your password link
