1 <%= javascript_include_tag 'openID.js' %>
3 <h1><%= t 'user.login.heading' %></h1>
5 <p><%= t 'user.login.please login', :create_user_link => link_to(t('user.login.create_account'), :controller => 'user', :action => 'new', :referer => params[:referer]) %></p>
7 <% form_tag :action => 'login' do %>
8 <%= hidden_field_tag('referer', h(params[:referer])) %>
9 <div style="position: relative;">
10 <div class="loginBox">
11 <h3> <%= t 'user.login.username_heading' %></h3>
12 <table id="loginForm" width="100%">
13 <tr><td class="fieldName"><%= t 'user.login.email or username' %></td><td><%= text_field('user', 'email',{:value => "", :size => 28, :maxlength => 255, :tabindex => 1}) %></td></tr>
14 <tr><td class="fieldName"><%= t 'user.login.password' %></td><td><%= password_field('user', 'password',{:value => "", :size => 28, :maxlength => 255, :tabindex => 2}) %></td></tr>
15 <tr><td></td><td> <span class="minorNote">(<%= link_to t('user.login.lost password link'), :controller => 'user', :action => 'lost_password' %>)</span></td></tr>
18 <div style="float:left; width: 20px; padding: 10px;">
21 <div class="loginBox">
22 <h3><%= t 'user.login.openid_heading' %></h3>
23 <table id="loginForm" width="100%">
25 <td class="fieldName">
26 <%= image_tag "openid-16x16.gif", :alt => t('user.login.openid_logo_alt') %>
27 <%= t 'user.login.openid' %>
29 <td><%= text_field('user', 'openid_url',{:size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url"}) %></td>
34 <span class="minorNote">
35 (<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)
40 <a href="javascript: openid_signin('openid');" title="<%= h(t 'user.login.openid_providers.openid.title') %>">
41 <%= image_tag "openid_logo.png", :alt => t('user.login.openid_providers.openid.title') %>
43 <a href="javascript: openid_signin('yahoo');" title="<%= h(t 'user.login.openid_providers.yahoo.title') %>">
44 <%= image_tag "yahoo.png", :alt => t('user.login.openid_providers.yahoo.alt') %>
46 <a href="javascript: openid_signin('google');" title="<%= h(t 'user.login.openid_providers.google.title') %>">
47 <%= image_tag "google.png", :alt => t('user.login.openid_providers.google.alt') %>
49 <a href="javascript: openid_signin('myopenid');" title="<%= h(t 'user.login.openid_providers.myopenid.title') %>">
50 <%= image_tag "myopenid.png", :alt => t('user.login.openid_providers.myopenid.alt') %>
52 <a href="javascript: openid_signin('wordpress');" title="<%= h(t 'user.login.openid_providers.wordpress.title') %>">
53 <%= image_tag "wordpress.png", :alt => t('user.login.openid_providers.wordpress.alt') %>
55 <a href="javascript: openid_signin('myspace');" title="<%= h(t 'user.login.openid_providers.myspace.title') %>">
56 <%= image_tag "myspace.png", :alt => t('user.login.openid_providers.myspace.alt') %>
60 <div style="clear: both">
61 <table id="loginForm">
62 <tr><td class="fieldName"><label for="remember_me"><%= t 'user.login.remember' %></label></td><td><%= check_box_tag "remember_me", "yes", false, :tabindex => 3 %></td><td align=right><%= submit_tag t('user.login.login_button'), :tabindex => 3 %></td></tr>