Improve form styles

This commit is contained in:
Sascha Ißbrücker 2019-12-26 23:56:54 +01:00
parent b58633c377
commit 9ff8356a4d
3 changed files with 6 additions and 4 deletions

View File

@ -44,7 +44,8 @@
</div> </div>
{{ form.description.errors }} {{ form.description.errors }}
</div> </div>
<div class="form-group mt-2"> <br/>
<div class="form-group">
{% if auto_close %} {% if auto_close %}
<input type="submit" value="Save and close" class="btn btn-primary mr-2"> <input type="submit" value="Save and close" class="btn btn-primary mr-2">
{% else %} {% else %}

View File

@ -33,8 +33,8 @@
{{ form.password2|add_class:'form-input' }} {{ form.password2|add_class:'form-input' }}
<div class="form-input-hint">{{ form.errors.password2 }}</div> <div class="form-input-hint">{{ form.errors.password2 }}</div>
</div> </div>
<br/>
<input type="submit" value="Register" class="btn btn-primary mt-2 col-md-12"> <input type="submit" value="Register" class="btn btn-primary col-md-12">
<input type="hidden" name="next" value="{{ next }}"> <input type="hidden" name="next" value="{{ next }}">
</form> </form>
</section> </section>

View File

@ -27,7 +27,8 @@
{{ form.password|add_class:'form-input' }} {{ form.password|add_class:'form-input' }}
</div> </div>
<div class="columns mt-2"> <br/>
<div class="columns">
<div class="column col-3"> <div class="column col-3">
<input type="submit" value="Login" class="btn btn-primary"> <input type="submit" value="Login" class="btn btn-primary">
<input type="hidden" name="next" value="{{ next }}"> <input type="hidden" name="next" value="{{ next }}">