diff options
| author | Cezar Pendarovski | 2014-09-04 17:51:45 +0200 |
|---|---|---|
| committer | Cezar Pendarovski | 2014-09-04 17:51:45 +0200 |
| commit | 3bc858c30b04a1c042d1b0d5196994a2e1e3fe64 (patch) | |
| tree | 324a94cd3bf99b6cbcad7880cd51dc16d24df21f | |
| parent | ea259e8bde2d4ea6b018f28900288a71ab2db05a (diff) | |
| download | django-rest-framework-3bc858c30b04a1c042d1b0d5196994a2e1e3fe64.tar.bz2 | |
General message error goes above submit button
| -rw-r--r-- | rest_framework/templates/rest_framework/login_base.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rest_framework/templates/rest_framework/login_base.html b/rest_framework/templates/rest_framework/login_base.html index 3a75e8b3..49dad3ae 100644 --- a/rest_framework/templates/rest_framework/login_base.html +++ b/rest_framework/templates/rest_framework/login_base.html @@ -42,14 +42,14 @@ </div> </div> <input type="hidden" name="next" value="{{ next }}" /> - <div class="form-actions-no-box"> - <input type="submit" name="submit" value="Log in" class="btn btn-primary" id="submit-id-submit"> - </div> {% if form.non_field_errors %} {% for error in form.non_field_errors %} <div class="alert" style="margin-top: 10px">{{ error }}</div> {% endfor %} {% endif %} + <div class="form-actions-no-box"> + <input type="submit" name="submit" value="Log in" class="btn btn-primary" id="submit-id-submit"> + </div> </form> </div> </div><!-- /.row-fluid --> |
