<% flash.each do |key, msg| %> <%= content_tag :p, msg, :class => [key, "alert alert-error in fade"] %> <% end %>
<%= form_for resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => 'content'} do |f| %>
<%= f.text_field :user_id, :placeholder => t("users.user_id"), :id=>"user_email" %>
<%= f.password_field :password, :placeholder => t(:dots), :id=>"user_password" %>

<%= content_tag :button, t(:login), :type => :submit, :class => 'btn btn-primary' %>
<%= link_to content_tag(:small, t(:forgot_password)), new_user_password_path %>

<% end %>