</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>
<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();