- <div class="loginBox">
- <h3><%= t 'user.login.openid_heading' %></h3>
- <table id="loginForm" width="100%">
- <tr>
- <td class="fieldName">
- <%= image_tag "openid-16x16.gif", :alt => t('user.login.openid_logo_alt') %>
- <%= t 'user.login.openid' %>
- </td>
- <td><%= text_field('user', 'openid_url',{:size => 28, :maxlength => 255, :tabindex => 3, :class => "openid_url"}) %></td>
- </tr>
- <tr>
- <td></td>
- <td>
- <span class="minorNote">
- (<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)
- </span>
- </td>
- </tr>
- </table>
- <a href="javascript: openid_signin('openid');" title="<%= h(t 'user.login.openid_providers.openid.title') %>">
- <%= image_tag "openid_logo.png", :alt => t('user.login.openid_providers.openid.title') %>
- </a>
- <a href="javascript: openid_signin('yahoo');" title="<%= h(t 'user.login.openid_providers.yahoo.title') %>">
- <%= image_tag "yahoo.png", :alt => t('user.login.openid_providers.yahoo.alt') %>
- </a>
- <a href="javascript: openid_signin('google');" title="<%= h(t 'user.login.openid_providers.google.title') %>">
- <%= image_tag "google.png", :alt => t('user.login.openid_providers.google.alt') %>
- </a>
- <a href="javascript: openid_signin('myopenid');" title="<%= h(t 'user.login.openid_providers.myopenid.title') %>">
- <%= image_tag "myopenid.png", :alt => t('user.login.openid_providers.myopenid.alt') %>
- </a>
- <a href="javascript: openid_signin('wordpress');" title="<%= h(t 'user.login.openid_providers.wordpress.title') %>">
- <%= image_tag "wordpress.png", :alt => t('user.login.openid_providers.wordpress.alt') %>
- </a>
- <a href="javascript: openid_signin('myspace');" title="<%= h(t 'user.login.openid_providers.myspace.title') %>">
- <%= image_tag "myspace.png", :alt => t('user.login.openid_providers.myspace.alt') %>
- </a>
- </div>
+ <fieldset>
+ <%= check_box_tag "remember_me", "yes", false, :tabindex => 3 %>
+ <label for="remember_me" class="standard-label">
+ <%= t 'user.login.remember' %>
+ </label>
+ <%= submit_tag t('user.login.login_button'), :tabindex => 4 %>
+ </fieldset>
+
+ <fieldset class='form-divider'>
+
+ <p class='standard-label'><%= t 'user.login.with openid' %></p>
+
+ <ul class='clearfix' id="login_openid_buttons">
+ <li><%= link_to image_tag("openid.png", :alt => t("user.login.openid_providers.openid.title")), "#", :id => "openid_open_url", :title => t("user.login.openid_providers.openid.title") %></li>
+ <li><%= openid_button "google", "gmail.com" %></li>
+ <li><%= openid_button "yahoo", "me.yahoo.com" %></li>
+ <li><%= openid_button "wordpress", "wordpress.com" %></li>
+ <li><%= openid_button "aol", "aol.com" %></li>
+ </ul>
+
+ <div id='login_openid_url' class='form-row'>
+ <label class="standard-label"><%= raw t 'user.login.openid', :logo => openid_logo %></label>
+ <%= url_field_tag("openid_url", "", { :tabindex => 3, :class => "openid_url" }) %>
+ <span class="minorNote">(<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)</span>
+ </div>
+
+ <div id="remember_me_openid" class='form-row'>
+ <%= check_box_tag "remember_me_openid", "yes", false, :tabindex => 5 %>
+ <label class="standard-label" for="remember_me_openid"><%= t 'user.login.remember' %></label>
+ </div>
+
+ <%= submit_tag t('user.login.login_button'), :tabindex => 6, :id => "login_openid_submit" %>
+
+ </fieldset>