Make required fields required :P

This commit is contained in:
Kumi 2019-02-01 15:29:34 +00:00
parent 8250842f77
commit 009fd7e80e

View file

@ -14,7 +14,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="organization">Organization</label> <label for="organization">Organization</label>
<select class="custom-select mr-sm-2" id="organization" name="organization"> <select required class="custom-select mr-sm-2" id="organization" name="organization">
{% for choice in organizations %} {% for choice in organizations %}
<option value="{{ choice.id }}">{{ choice.name }}</option> <option value="{{ choice.id }}">{{ choice.name }}</option>
{% endfor %} {% endfor %}
@ -22,7 +22,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="model">Model</label> <label for="model">Model</label>
<select class="custom-select mr-sm-2" id="model" name="model"> <select required class="custom-select mr-sm-2" id="model" name="model">
{% for choice in models %} {% for choice in models %}
<option value="{{ choice.id }}">{{ choice.name }}</option> <option value="{{ choice.id }}">{{ choice.name }}</option>
{% endfor %} {% endfor %}