aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2014-11-25 09:07:25 +0000
committerTom Christie2014-11-25 09:07:25 +0000
commitecc26f6cb1e8b1f1a4cd72cf980b750aeed65cf7 (patch)
tree14577a6ba5cbe90036c46e648bde222e5c5015a0
parent735d2257b425fac185470b8b6fb1f74fa6f135f6 (diff)
downloaddjango-rest-framework-ecc26f6cb1e8b1f1a4cd72cf980b750aeed65cf7.tar.bz2
Style tweaks to login template.
-rw-r--r--rest_framework/templates/rest_framework/login_base.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/rest_framework/templates/rest_framework/login_base.html b/rest_framework/templates/rest_framework/login_base.html
index c688cc28..e050cbdc 100644
--- a/rest_framework/templates/rest_framework/login_base.html
+++ b/rest_framework/templates/rest_framework/login_base.html
@@ -36,7 +36,8 @@
</div>
</div>
<div id="div_id_password"
- class="clearfix control-group {% if form.password.errors %}error{% endif %}">
+ class="clearfix control-group {% if form.password.errors %}error{% endif %}"
+ style="margin-top: 10px">
<div class="controls">
<label class="span4">Password:</label>
<input style="height: 25px" type="password" name="password" maxlength="100"
@@ -55,7 +56,7 @@
<div class="well well-small text-error" style="border: none">{{ error }}</div>
{% endfor %}
{% endif %}
- <div class="form-actions-no-box">
+ <div class="form-actions-no-box" style="margin-top: 20px">
<input type="submit" name="submit" value="Log in" class="btn btn-primary" id="submit-id-submit">
</div>
</form>