<div class="devise-form">
  <h2>Sign Up</h2>

  <%= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
    <%= f.error_notification %>
    <%= f.input :name,                  :autofocus => true %>
    <%= f.input :email,                 :required => true %>
    <%= f.input :password,              :required => true %>
    <%= f.input :password_confirmation, :required => true %>

    <%= f.button :submit, 'Sign Up', :class => 'btn-primary' %>
  <% end %>
</div>

<div class="devise-form">
  <h2>Sign Up</h2>

  <%= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
    <%= f.error_notification %>
    <%= f.input :name,                  :autofocus => true %>
    <%= f.input :email,                 :required => true %>
    <%= f.input :password,              :required => true %>
    <%= f.input :password_confirmation, :required => true %>

    <%= f.button :submit, 'Sign Up', :class => 'btn-primary' %>
  <% end %>

  Already a member? <%= link_to "Sign in", new_session_path(resource_name) %><br />
</div>

Add Sign-In Link for Registration View
Add Sign-In Link for Registration View

Update the Devise registrations view to add a sign-in link (in the case
where the user is already a member).
