mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-22 07:52:15 +00:00
Fix some tests
And some things that were actually borked
This commit is contained in:
@@ -7,7 +7,11 @@
|
||||
{% if create or edit or duplicate %}
|
||||
<div class="form-group" id="parent-group">
|
||||
<label for="selectpicker">Set Parent</label>
|
||||
{% include 'partials/asset_picker.html' %}
|
||||
<select name="parent" id="parent_id" class="form-control selectpicker" data-live-search="true">
|
||||
{% if object.parent %}
|
||||
<option value="{{object.parent.pk}}" selected>{{object.parent.description}}</option>
|
||||
{% endif %}
|
||||
</select>
|
||||
</div>
|
||||
{% else %}
|
||||
<dl>
|
||||
|
||||
Reference in New Issue
Block a user