-
<div id="login_login">
<% content_for :heading do %>
<h1><%= t 'user.login.heading' %></h1>
</label>
<%= password_field_tag "password", "", :tabindex => 2 %>
</div>
- <p class="form-help deemphasize">
+ <span class="form-help deemphasize">
<%= link_to t('user.login.lost password link'), :controller => 'user', :action => 'lost_password' %>
- </p>
+ </span>
</fieldset>
<fieldset>
<%= submit_tag t('user.login.login_button'), :tabindex => 4 %>
</fieldset>
- <fieldset class='form-section'>
+ <fieldset class='form-divider'>
<p class='standard-label'><%= t 'user.login.with openid' %></p>
<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"><%= t 'user.login.remember' %></label>
+ <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" %>
<script type="text/javascript">
$(document).ready(function() {
+ // Preserve location hash in referer
+ if (window.location.hash) {
+ $('#referer').val($('#referer').val() + window.location.hash);
+ }
+
$("#openid_open_url").click(function() {
$("#openid_url").val("http://");
$("#login_openid_buttons").hide();