2011-07-23 21:55:26 +02:00
|
|
|
<% content_for :title do %>
|
|
|
|
<%= t(:please_login) %>
|
|
|
|
<% end %>
|
|
|
|
|
2011-06-26 21:37:50 +02:00
|
|
|
<div id="box">
|
2011-07-23 21:55:26 +02:00
|
|
|
<div class="block">
|
|
|
|
<div id="logo"><a href="/"><img src="<%= current_theme_image_path('logo_small.png')%>" alt="Mailr"/></a>
|
2011-06-26 21:37:50 +02:00
|
|
|
</div>
|
|
|
|
<h2><%= t(:please_login) %></h2>
|
|
|
|
<div class="content login">
|
|
|
|
<div class="flash">
|
2011-07-21 20:20:15 +02:00
|
|
|
<% if flash[:error] %>
|
|
|
|
<div class="message error"><p><%= flash[:error] %></p></div>
|
|
|
|
<% elsif flash[:notice] %>
|
|
|
|
<div class="message notice"><p><%= flash[:notice] %></p></div>
|
2011-06-26 21:37:50 +02:00
|
|
|
<% end %>
|
|
|
|
</div>
|
2011-07-22 21:58:59 +02:00
|
|
|
<form action="<%=url_for(:controller => 'user', :action => 'authenticate')%>" method="post" class="form login">
|
2011-06-26 21:37:50 +02:00
|
|
|
<div class="group wat-cf">
|
|
|
|
<div class="left">
|
|
|
|
<label class="label right"><%= t(:email) %></label>
|
|
|
|
</div>
|
|
|
|
<div class="right">
|
2011-07-23 21:55:26 +02:00
|
|
|
<%= text_field "user", "email" %>
|
2011-06-26 21:37:50 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="group wat-cf">
|
|
|
|
<div class="left">
|
|
|
|
<label class="label right"><%= t(:password) %></label>
|
|
|
|
</div>
|
|
|
|
<div class="right">
|
2011-07-23 21:55:26 +02:00
|
|
|
<%= password_field "user", "password" %></td>
|
2011-06-26 21:37:50 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="group navform wat-cf">
|
|
|
|
<div class="right">
|
|
|
|
<button class="button" type="submit">
|
|
|
|
<img src="<%= current_theme_image_path('key.png')%>" alt="login" /> <%= t :log_in %>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|