1 <h1><%= t 'user.login.heading' %></h1>
3 <p><%= t 'user.login.please login', :create_user_link => link_to(t('user.login.create_account'), :controller => 'user', :action => 'new', :referer => params[:referer]) %></p>
5 <% form_tag({ :action => "login" }, { :id => "login_form" }) do %>
6 <%= hidden_field_tag('referer', h(params[:referer])) %>
8 <div style="position: relative;">
10 <h3><%= t 'user.login.username_heading' %></h3>
13 <td class="fieldName"><label for="user_email"><%= t 'user.login.email or username' %></label></td>
14 <td><%= text_field_tag("username", "", { :size => 28, :maxlength => 255, :tabindex => 1 }) %></td>
17 <td class="fieldName"><label for="user_password"><%= t 'user.login.password' %></label></td>
18 <td><%= password_field_tag("password", "", { :size => 28, :maxlength => 255, :tabindex => 2 }) %></td>
22 <td><span class="minorNote">(<%= link_to t('user.login.lost password link'), :controller => 'user', :action => 'lost_password' %>)</span></td>
25 <td class="fieldName"><label for="remember_me"><%= t 'user.login.remember' %></label></td>
26 <td><%= check_box_tag "remember_me", "yes", false, :tabindex => 3 %></td>
30 <%= submit_tag t('user.login.login_button'), :tabindex => 4 %>
33 <div style="float:left; width: 20px; padding: 10px;">
36 <div class="loginBox">
37 <h3><%= t 'user.login.openid_heading' %></h3>
38 <div id="openid_buttons">
40 link_to_function(image_tag("openid_large.png", :alt => t("user.login.openid_providers.openid.title")), nil, :title => t("user.login.openid_providers.openid.title")) do |page|
41 page[:login_form][:openid_url].value = "http://"
42 page[:openid_buttons].hide
43 page[:openid_url].show
44 page[:openid_url_hint].show
45 page[:openid_submit].show
48 <%= openid_button "yahoo", "me.yahoo.com" %>
49 <%= openid_button "google", "gmail.com" %>
50 <%= openid_button "myopenid", "myopenid.com" %>
51 <%= openid_button "wordpress", "wordpress.com" %>
52 <%= openid_button "myspace", "myspace.com" %>
57 <td class="fieldName nowrap">
58 <%= t 'user.login.openid', :logo => openid_logo %>
60 <td><%= text_field_tag("openid_url", "", { :size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url" }) %></td>
62 <tr id="openid_url_hint">
65 <span class="minorNote">(<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)</span>
69 <td class="fieldName nowrap" id="remember_me_label"><label for="remember_me"><%= t 'user.login.remember' %></label></td>
70 <td width="100%"><%= check_box_tag "remember_me", "yes", false, :tabindex => 5 %></td>
74 <%= submit_tag t('user.login.login_button'), :tabindex => 6, :id => "openid_submit" %>
80 update_page_tag do |page|
81 page[:openid_url].hide
82 page[:openid_url_hint].hide
83 page[:openid_submit].hide