<%= render :partial => "users/shared/links" %> <%= simple_form_for(resource, as: resource_name, url: session_path(resource_name) ) do |f| %> <%= f.input :email, required: true %> <%= f.input :password, required: true %> <% if devise_mapping.rememberable? -%> <%= f.input :remember_me, as: :boolean %> <% end -%> <%= f.submit "Sign in", class: 'btn btn-primary' %> or <%= link_to "Sign up", new_registration_path(resource_name) %> / <%= link_to 'Forgot your password?', new_password_path(resource_name) %> <% end %>