<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
<%= f.label :username %>
<%= f.text_field :username, autofocus: true, :class => "form-control" %>
<%= f.label :password %>
<%= f.password_field :password, autocomplete: "off", :class => "form-control" %>
<% if devise_mapping.rememberable? -%>
<% end -%>
<%= f.submit t("devise.sessions.new.sign_in"), :class => "btn btn-warning" %> <%= render "devise/shared/links" %>
<% end %>