-
<div id="login_login">
<% content_for :heading do %>
<h1><%= t 'user.login.heading' %></h1>
<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();