<%= form_for :user, url: user_session_path, html: {class: 'container'} do |f| %>
<% @request_hosts = request.host_with_port.split(".") %>
使用計中帳號登入
or
<%= f.text_field :user_id, class: "input-xlarge" , placeholder: t("users.user_id") %>
<%= f.password_field :password, class: "input-xlarge", placeholder: t(: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 %>