journalduhacker/app/views/login/index.html.erb

39 lines
925 B
Plaintext
Raw Normal View History

<div class="box wide">
2012-12-08 20:14:33 +01:00
<div class="legend">
2016-11-10 15:11:57 +01:00
<%= t('.login') %>
2012-12-08 20:14:33 +01:00
</div>
<%= form_tag login_path do %>
2012-12-08 20:14:33 +01:00
<p>
2016-11-10 15:06:52 +01:00
<%= label_tag :email, t('.email') %>
<%= email_field_tag :email, "", :size => 30, :autofocus => "autofocus" %>
<br />
2016-11-10 15:06:52 +01:00
<%= label_tag :password, t('.password') %>
<%= password_field_tag :password, "", :size => 30 %>
2012-12-08 20:14:33 +01:00
<br />
</p>
2012-12-08 20:14:33 +01:00
<p>
2016-11-10 15:06:52 +01:00
<%= submit_tag t('.login') %>
2012-12-08 20:14:33 +01:00
</p>
2012-12-08 20:14:33 +01:00
<p>
2016-11-10 15:06:52 +01:00
<%= t('.forgotdeleted') %><%= link_to t('.resetpassword'), forgot_password_path %>.
2012-12-08 20:14:33 +01:00
</p>
<p>
2016-11-10 15:06:52 +01:00
<%= raw(t('.notuseryet', :acurrentuser => "#{t('.acurrentuser')}")) %>
<% if Rails.application.allow_invitation_requests? %>
2016-11-10 15:06:52 +01:00
<a href="/invitations/request"><%= t('.request') %></a>.
<% else %>
2016-11-10 15:06:52 +01:00
<%= raw(t('.requestinchat')) %>
<% end %>
</p>
<% if @referer.present? %>
<%= hidden_field_tag :referer, @referer %>
<% end %>
2012-12-08 20:14:33 +01:00
<% end %>
</div>