client_management/app/views/c_panel_sessions/login.html.erb

44 lines
1.5 KiB
Plaintext
Raw Normal View History

2017-03-07 09:37:28 +00:00
<section class="cp-content col-md-12 cp-login-page">
<div class="cp-page-title">Login</div>
<div class="cp-login-box">
<% if !@errors.blank? %>
<div class="alert alert-danger" role="alert"><%= @errors %></div>
<% end %>
<form action="/cpanel/loguserin" method="post" id="cp-login">
<div class="line-login">
<span class="icon-lock"><i class="fa fa-lock" aria-hidden="true"></i></span>
</div>
<span class="line-login">
<label for="cp-login-id" class="text-input">Registered Email :</label>
<input type="text" name="username" id="cp-login-id" />
</span>
<span class="line-login">
<label for="cp-login-pw" class="text-input">Password :</label>
<input type="password" name="password" id="cp-login-pw" />
</span>
<span class="line-login">
<%= hidden_field_tag :authenticity_token, form_authenticity_token -%>
<input type="submit" value="Login" class="btn btn-success">
</span>
<span class="line-login text-center">
<p>OR</p>
</span>
<span class="line-login text-center">
<a href="/cpanel/signup">Sign Up</a>
</span>
</form>
</div>
<div class="cp-forgot-box">
<p>
<a href="/cpanel/requestpassword">
Forgotten password
</a>
<br>
<span>or</span>
</br>
<a href="/cpanel/requestpassword">
Already a site administrator and logging in for the first time.
</a>
</p>
</div>
</section>