<td align="center">
<div id="login_form">
<form action="<%= url_for :controller => 'sessions', :action => 'login' -%>" method="post">
- <input type="hidden" name="redirect_to_anchor" value="">
+ <input type="hidden" name="return_to_anchor" value="">
<h3><%= label_tag message('login') %></h3>
<p>
<%= text_field_tag 'login', '', {:maxlength => 40, :disabled => false, :style => 'width:200px;'} %>
</table>
<script>
$j('#login').focus();
- $j('[name=redirect_to_anchor]').val(window.location.hash);
+ $j('[name=return_to_anchor]').val(window.location.hash);
</script>
<td align="center">
<div id="login_form">
<form action="<%= url_for :controller => 'sessions', :action => 'login' -%>" method="post">
- <input type="hidden" name="redirect_to_anchor" value="">
+ <input type="hidden" name="return_to_anchor" value="">
<% if flash[:notice] %>
<div class="notice"><%= flash[:notice] %></div>
<% end %>
</table>
<script>
$j('#login').focus();
- $j('[name=redirect_to_anchor]').val(window.location.hash);
+ $j('[name=return_to_anchor]').val(window.location.hash);
</script>