We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f25c323 + 5dab2d3 commit ea39f0fCopy full SHA for ea39f0f
1 file changed
tom_targets/templates/tom_targets/target_form.html
@@ -25,7 +25,7 @@ <h3> Update {{ object.name }}</h3>
25
{% bootstrap_form form %}
26
{% endif %}
27
<h4>Permissions</h4>
28
-<div class="row mb-3" x-data="{permission: 'PRIVATE' }">
+<div class="row mb-3" x-data="{permission: '{{ form.permissions.value }}' }">
29
<div class="col-md-6">
30
<select x-model="permission" name="permissions" class="form-control" id="id_permissions">
31
<option value="OPEN">Open</option>
0 commit comments