Improve form styles
This commit is contained in:
parent
b58633c377
commit
9ff8356a4d
|
@ -44,7 +44,8 @@
|
|||
</div>
|
||||
{{ form.description.errors }}
|
||||
</div>
|
||||
<div class="form-group mt-2">
|
||||
<br/>
|
||||
<div class="form-group">
|
||||
{% if auto_close %}
|
||||
<input type="submit" value="Save and close" class="btn btn-primary mr-2">
|
||||
{% else %}
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
{{ form.password2|add_class:'form-input' }}
|
||||
<div class="form-input-hint">{{ form.errors.password2 }}</div>
|
||||
</div>
|
||||
|
||||
<input type="submit" value="Register" class="btn btn-primary mt-2 col-md-12">
|
||||
<br/>
|
||||
<input type="submit" value="Register" class="btn btn-primary col-md-12">
|
||||
<input type="hidden" name="next" value="{{ next }}">
|
||||
</form>
|
||||
</section>
|
||||
|
|
|
@ -27,7 +27,8 @@
|
|||
{{ form.password|add_class:'form-input' }}
|
||||
</div>
|
||||
|
||||
<div class="columns mt-2">
|
||||
<br/>
|
||||
<div class="columns">
|
||||
<div class="column col-3">
|
||||
<input type="submit" value="Login" class="btn btn-primary">
|
||||
<input type="hidden" name="next" value="{{ next }}">
|
||||
|
|
Loading…
Reference in New Issue