hps_member/app/views/member_counselors/index.html.erb

26 lines
614 B
Plaintext

<%#= csrf_meta_tag %>
<% if params[:error] == "invld" %>
<div>Invalid username or password.</div>
<% end %>
<% if params[:error] == "dsbld" %>
<div>Your account is disabled.</div>
<% end %>
<form action="/cuser/member_counselor/login" method="post">
<div>
<label for="username">Account</label>
<input type="text" name="username" id="username" />
</div>
<div>
<label for="password">Password</label>
<input type="password" name="password" id="password" />
</div>
<div>
<%= hidden_field_tag :authenticity_token, form_authenticity_token %>
<input type="submit" value="Submit" />
</div>
</form>