31 lines
1.3 KiB
Plaintext
31 lines
1.3 KiB
Plaintext
<h1 class="login-logo"><%= t(:ruling_site) %></h1>
|
|
<div id="signin-header">
|
|
<h3><%= t(:login) %></h3>
|
|
</div>
|
|
<div id="container" class="sign-in">
|
|
<%= form_for :user, :url => user_session_path, :html => {:class => 'user_new form-horizontal'} do |f| %>
|
|
<div class="content">
|
|
<% flash.each do |key, msg| %>
|
|
<%= content_tag :span, msg, :class => [key, "notice label label-warning"] %>
|
|
<% end%>
|
|
<p class="alert hide">You need to sign in or sign up before continuing.</p>
|
|
<div class="main">
|
|
<div class="control-group clear">
|
|
<%= f.label :email ,t("admin.user_new_interface.email")%>
|
|
<%= f.text_field :email, :placeholder => t("admin.user_new_interface.email"), :style => "width: 330px;" %>
|
|
<span class="help-inline">Please correct the error</span>
|
|
</div>
|
|
<div class="control-group clear">
|
|
<%= f.label :password,t("password") %>
|
|
<%= f.password_field :password, :placeholder => t(:dots), :style => "width: 330px;" %>
|
|
<span class="help-inline">Please correct the error</span>
|
|
<%= link_to t(:forgot_password), new_user_password_path, :class => 'pull-right forgot hide' %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="form-actions clear">
|
|
<%= content_tag :button, t(:login), :type => :submit, :class => 'btn btn-primary pull-right' %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|