restyled loginform
This commit is contained in:
parent
e721756121
commit
d050ef9c13
|
@ -10,7 +10,7 @@
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% block "content" %}
|
{% block "content" %}
|
||||||
|
<div class="span6" style="margin: 0 auto; float: none;">
|
||||||
{% include "registration/loginForm.html" %}
|
{% include "registration/loginForm.html" %}
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -8,24 +8,22 @@
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% if form.errors %}
|
{% if form.errors %}
|
||||||
<div class="error">
|
<div class="alert alert-error alert-block">
|
||||||
<h2>Deine Logindaten sind fehlerhaft</h2>
|
<h4 class="alert-heading">Deine Logindaten sind fehlerhaft</h4>
|
||||||
<p>Versuch es nochmal, aber achte auf CAPSLOCK und tippe nicht so schnell.</p>
|
<p>Versuch es nochmal, aber achte auf CAPSLOCK und tippe nicht so schnell.</p>
|
||||||
<p>Falls du dein Passwort vergessen haben solltest (oder es nicht geht..),
|
</div>
|
||||||
dann melde dich bei deiner <a href="http://www.antifa.de/cms/">Local Antifa</a>
|
|
||||||
oder einem Admin <a href="http://superfluousandsparse.blogspot.com/">
|
|
||||||
unserer Wahl</a>.</p>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<form class="login" method="post" action="/user/login/">
|
<form class="form-horizontal" method="post" action="/user/login/">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<fieldset>
|
|
||||||
<p>{{ form.username.label_tag }} {{ form.username }}</p>
|
|
||||||
<p>{{ form.password.label_tag }} {{ form.password }}</p>
|
|
||||||
</fieldset>
|
|
||||||
|
|
||||||
<input type="submit" class="button" value="Anmelden" />
|
|
||||||
<input type="hidden" name="next" value="{{ next }}" />
|
<input type="hidden" name="next" value="{{ next }}" />
|
||||||
|
|
||||||
|
{% include "form.html" with form=form %}
|
||||||
|
|
||||||
|
<div class="control-group">
|
||||||
|
<div class="controls">
|
||||||
|
<input type="submit" class="btn btn-primary" value="Anmelden" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
@ -10,10 +10,11 @@
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% block "content" %}
|
{% block "content" %}
|
||||||
<div class="success">
|
<div class="span6" style="margin: 0 auto; float: none;">
|
||||||
<h2>Du hast dich erfolgreich abgemeldet</h2>
|
<div class="alert alert-success">
|
||||||
</div>
|
<h4>Du hast dich erfolgreich abgemeldet.</h4>
|
||||||
|
</div>
|
||||||
{% include "registration/loginForm.html" %}
|
|
||||||
|
|
||||||
|
{% include "registration/loginForm.html" %}
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue