2012-06-17 03:15:46 +02:00
|
|
|
<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>
|
2012-06-17 03:15:46 +02:00
|
|
|
|
2015-01-03 00:02:55 +01:00
|
|
|
<%= 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') %>
|
2017-05-18 19:14:01 +02:00
|
|
|
<%= email_field_tag :email, "", :size => 30, :autofocus => "autofocus" %>
|
2012-06-17 03:15:46 +02:00
|
|
|
<br />
|
|
|
|
|
2016-11-10 15:06:52 +01:00
|
|
|
<%= label_tag :password, t('.password') %>
|
2012-06-17 03:15:46 +02:00
|
|
|
<%= password_field_tag :password, "", :size => 30 %>
|
2012-12-08 20:14:33 +01:00
|
|
|
<br />
|
2012-06-17 03:15:46 +02:00
|
|
|
</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-06-17 03:15:46 +02:00
|
|
|
|
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>
|
2012-12-08 20:14:43 +01:00
|
|
|
|
|
|
|
<p>
|
2016-11-10 15:06:52 +01:00
|
|
|
<%= raw(t('.notuseryet', :acurrentuser => "#{t('.acurrentuser')}")) %>
|
2014-10-04 00:16:15 +02:00
|
|
|
<% if Rails.application.allow_invitation_requests? %>
|
2016-11-10 15:06:52 +01:00
|
|
|
<a href="/invitations/request"><%= t('.request') %></a>.
|
2014-10-04 00:16:15 +02:00
|
|
|
<% else %>
|
2016-11-10 15:06:52 +01:00
|
|
|
<%= raw(t('.requestinchat')) %>
|
2014-10-04 00:16:15 +02:00
|
|
|
<% end %>
|
2012-12-08 20:14:43 +01:00
|
|
|
</p>
|
2014-08-08 17:31:06 +02:00
|
|
|
|
|
|
|
<% if @referer.present? %>
|
|
|
|
<%= hidden_field_tag :referer, @referer %>
|
|
|
|
<% end %>
|
2012-12-08 20:14:33 +01:00
|
|
|
<% end %>
|
2012-06-17 03:15:46 +02:00
|
|
|
</div>
|