mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-16 21:12:13 +00:00
For the second time with this piece of functionality...how did that ever work?
9 lines
429 B
HTML
9 lines
429 B
HTML
<div class="form-group form-row">
|
|
<label for="item_id" class="col col-form-label">Item</label>
|
|
<select name="item" id="item_id" class="selectpicker col-sm-10 px-0" data-live-search="true" data-sourceurl="{% url 'api_secure' model='training_item' %}?fields=display_id,description&filters=active" required>
|
|
{% if item %}
|
|
<option value="{{form.item.value}}" selected>{{item}}</option>
|
|
{% endif %}
|
|
</select>
|
|
</div>
|