Group invite form elements

This commit is contained in:
Mouse Reeve 2020-11-06 15:08:40 -08:00
parent 9d1f1ce84b
commit 7f7cce3bb8
2 changed files with 7 additions and 11 deletions

View file

@ -57,6 +57,5 @@
</p> </p>
</div> </div>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}

View file

@ -29,21 +29,18 @@
<form name="invite" action="/create_invite/" method="post"> <form name="invite" action="/create_invite/" method="post">
{% csrf_token %} {% csrf_token %}
<div class="field"> <div class="field is-grouped">
<div class="control"> <div class="control">
<label class="label" for="id_expiry">Expiry:</label> <label class="label" for="id_expiry">Expiry:</label>
<div class="select">
{{ form.expiry }}
</div>
</div> </div>
<div class="select">
{{ form.expiry }}
</div>
</div>
<div class="field">
<div class="control"> <div class="control">
<label class="label" for="id_use_limit">Use limit:</label> <label class="label" for="id_use_limit">Use limit:</label>
</div> <div class="select">
<div class="select"> {{ form.use_limit }}
{{ form.use_limit }} </div>
</div> </div>
</div> </div>