850131873b
issue #244
42 lines
1 KiB
Plaintext
42 lines
1 KiB
Plaintext
<div class="box wide">
|
|
<div class="legend">
|
|
Login
|
|
</div>
|
|
|
|
<%= form_tag login_path do %>
|
|
<p>
|
|
<%= label_tag :email, "E-mail or Username:" %>
|
|
<%= text_field_tag :email, "", :size => 30, :autofocus => "autofocus" %>
|
|
<br />
|
|
|
|
<%= label_tag :password, "Password:" %>
|
|
<%= password_field_tag :password, "", :size => 30 %>
|
|
<br />
|
|
</p>
|
|
|
|
<p>
|
|
<%= submit_tag "Login" %>
|
|
</p>
|
|
|
|
<p>
|
|
Forgot your password or deleted your account?
|
|
<%= link_to "Reset your password", forgot_password_path %>.
|
|
</p>
|
|
|
|
<p>
|
|
Not a user yet? Signup is by invitation only to combat spam and increase
|
|
accountability. If you know <a href="/u/">a current user</a> of the site,
|
|
ask them for an invitation or
|
|
<% if Rails.application.allow_invitation_requests? %>
|
|
<a href="/invitations/request">request one publicly</a>.
|
|
<% else %>
|
|
request one in <a href="/chat">chat</a>.
|
|
<% end %>
|
|
</p>
|
|
|
|
<% if @referer.present? %>
|
|
<%= hidden_field_tag :referer, @referer %>
|
|
<% end %>
|
|
<% end %>
|
|
</div>
|