Bladeren bron

fixing bug with resources without any linked resources

joel
Simon Bowie 2 jaren geleden
bovenliggende
commit
1db5b850f4
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      web/app/templates/edit.html

+ 1
- 1
web/app/templates/edit.html Bestand weergeven

@@ -100,7 +100,7 @@
<select name="linked_resources" id="linked_resources" aria-label="Linked resources" class="selectpicker" data-live-search="true" multiple>
{% for resource_dropdown in resource_dropdown %}
{% if resource_dropdown['type'] != 'practice' %}
{% if resource_dropdown in links %}
{% if links and resource_dropdown in links %}
<option value="{{ resource_dropdown['id'] }}" selected>{{ resource_dropdown['name'] }}</option>
{% else %}
<option value="{{ resource_dropdown['id'] }}">{{ resource_dropdown['name'] }}</option>

Laden…
Annuleren
Opslaan