5
3
mirror of https://github.com/tildeverse/lobsters synced 2024-06-17 14:17:06 +00:00
tilde.news/app/views/login/index.html.erb

42 lines
1.0 KiB
Plaintext
Raw Normal View History

<div class="box wide">
2012-12-08 19:14:33 +00:00
<div class="legend">
Login
</div>
<%= form_tag login_path do %>
2012-12-08 19:14:33 +00:00
<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 %>
2012-12-08 19:14:33 +00:00
<br />
</p>
2012-12-08 19:14:33 +00:00
<p>
<%= submit_tag "Login" %>
</p>
2012-12-08 19:14:33 +00:00
<p>
Forgot your password or deleted your account?
<%= link_to "Reset your password", forgot_password_path %>.
2012-12-08 19:14:33 +00:00
</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 %>
2012-12-08 19:14:33 +00:00
<% end %>
</div>