<% flash.each do |key, msg| %> <%= content_tag :p, msg, :class => [key, "alert alert-error"] %> <% 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") %>
<%= f.password_field :password, :placeholder => t(:dots) %>
<%= content_tag :button, t(:login), :type => :submit, :class => 'btn btn-primary' %> <% end %>