<%= stylesheet_link_tag "bootstrap_and_overrides", :media => "all" %>

Velocipede

Made with ♥ in Baltimore

<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<%= f.text_field :username, placeholder: "Username", class: "form-control input-lg"%>
<%= f.password_field :password, placeholder: "Password", class: "form-control input-lg" %>
<% if devise_mapping.rememberable? -%> <% end -%>

<%= f.submit "Sign in", class:"btn btn-lg btn-primary" %>

Or quickly...

<% end %> <%= render "links" %> <% if Rails.env.development? %>

<% User.all.each do |user| %> <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> <%= f.hidden_field :username, :value => user.username%> <%= f.hidden_field :password, :value => 'password' %> <%= f.submit "Sign in as #{user.username}", class:"btn btn-info" %> <% end %> <% end %>

<% end %>