Permalink
Browse files

hide next, JS parses URL to get the value

  • Loading branch information...
1 parent 367dd20 commit a9b09ebc754a55befb3446ce1ff69de98985be8f @zalun zalun committed Mar 20, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 apps/person/templates/registration/login.html
@@ -66,9 +66,9 @@
<form id="login_form" class="UI_Forms {% if not waffle.switch('browserid-login') %}show-login{% endif %}" method="post" action="{{ url('django.contrib.auth.views.login') }}" accept-charset="utf-8">
- {{ safe_csrf_token()|safe }}
+ {{ safe_csrf_token()|safe }}
+ {% if waffle.switch('show-old-login') %}
<input type="hidden" name="next" value="{{ next }}" />
- {% if waffle.switch('show-old-login') %}
<fieldset>
<legend>Sign In</legend>
@@ -89,7 +89,7 @@
<li><input type="submit" name="save" value="Sign in" /></li>
</ul>
</div> <!-- /UI_Form_Actions -->
- {% endif %}
+ {% endif %}
</form> <!-- /UI_Forms -->
<p class="really-seriously">*You must use the same email address you use to access addons.mozilla.org for both BrowserID and standard login.</p>
</div> <!-- /UI_Login -->

0 comments on commit a9b09eb

Please sign in to comment.