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>
|
2012-04-23 02:13:44 +00:00
|
|
|
|
|
|
|
<%= flash_messages %>
|
2012-02-19 08:33:22 +00:00
|
|
|
<div id="container" class="sign-in">
|
|
|
|
<%= form_for :user, :url => user_session_path, :html => {:class => 'user_new form-horizontal'} do |f| %>
|
|
|
|
<div class="content">
|
|
|
|
<p class="notice hide">Notice</p>
|
|
|
|
<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">
|
2012-03-06 08:41:06 +00:00
|
|
|
<%= f.label :nccu_ldap_uid %>
|
|
|
|
<%= f.text_field :nccu_ldap_uid, :placeholder => t("nccu"), :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">
|
|
|
|
<%= link_to t(:forgot_password), new_user_password_path, :class => 'pull-right forgot' %>
|
|
|
|
<%= f.label :password %>
|
|
|
|
<%= f.password_field :password, :placeholder => t(:dots), :style => "width: 330px;" %>
|
|
|
|
<span class="help-inline">Please correct the error</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-actions clear">
|
|
|
|
<div class=" pull-left">
|
|
|
|
<label for="user_remember_me">
|
|
|
|
<%= f.check_box :remember_me, :style => "display: inline-block;" %>
|
|
|
|
<span style="display: inline-block;height: 10px;"><%= t(:remember_me) %></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<%= content_tag :button, t(:login), :type => :submit, :class => 'btn btn-primary pull-right' %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2012-02-29 05:07:21 +00:00
|
|
|
</div>
|