2012-02-19 08:33:22 +00:00
|
|
|
<h1 class="login-logo"><%= t(:ruling_site) %></h1>
|
|
|
|
<div id="signin-header">
|
|
|
|
<h3><%= t(:login) %></h3>
|
|
|
|
</div>
|
|
|
|
<div id="container" class="sign-in">
|
2012-10-26 09:42:14 +00:00
|
|
|
<%= form_for resource, :as => resource_name, :url => session_path(resource_name), :html => {:class => 'user_new form-horizontal'} do |f| %>
|
2012-02-19 08:33:22 +00:00
|
|
|
<div class="content">
|
2012-04-25 08:51:47 +00:00
|
|
|
<% flash.each do |key, msg| %>
|
|
|
|
<%= content_tag :span, msg, :class => [key, "notice label label-warning"] %>
|
2012-10-26 09:42:14 +00:00
|
|
|
<% end %>
|
2012-02-19 08:33:22 +00:00
|
|
|
<p class="alert hide">You need to sign in or sign up before continuing.</p>
|
|
|
|
<div class="main">
|
2012-02-28 20:56:32 +00:00
|
|
|
<div class="control-group clear">
|
2013-04-26 02:43:58 +00:00
|
|
|
<%= f.label :user_id ,t("users.user_id")%>
|
|
|
|
<%= f.text_field :user_id, :placeholder => t("users.user_id"), :style => "width: 330px;" %>
|
2012-02-19 08:33:22 +00:00
|
|
|
<span class="help-inline">Please correct the error</span>
|
|
|
|
</div>
|
|
|
|
<div class="control-group clear">
|
2012-05-24 09:01:00 +00:00
|
|
|
<%= f.label :password,t("password") %>
|
2012-02-19 08:33:22 +00:00
|
|
|
<%= f.password_field :password, :placeholder => t(:dots), :style => "width: 330px;" %>
|
|
|
|
<span class="help-inline">Please correct the error</span>
|
2012-04-27 03:02:56 +00:00
|
|
|
<%= link_to t(:forgot_password), new_user_password_path, :class => 'pull-right forgot hide' %>
|
2012-02-19 08:33:22 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-actions clear">
|
|
|
|
<%= content_tag :button, t(:login), :type => :submit, :class => 'btn btn-primary pull-right' %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2012-02-29 05:07:21 +00:00
|
|
|
</div>
|