ソースを参照

fixing bug with resources without any linked resources

joel
Simon Bowie 2年前
コミット
1db5b850f4
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      web/app/templates/edit.html

+ 1
- 1
web/app/templates/edit.html ファイルの表示

@@ -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>

読み込み中…
キャンセル
保存