You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% if value == 'tagging' or value == 'tagging_autocomplete' or value == 'dropdown' %}
463
-
<tdclass="table-tagging-cell" data-type={{default_type}}data-coltype="{{ value }}" data-col="{{ col }}" data-row="{{ forloop.parentloop.counter0 }}">
463
+
<tdclass="table-tagging-cell" data-type="{{ default_type }}"data-coltype="{{ value }}" data-col="{{ col }}" data-row="{{ forloop.parentloop.counter0 }}">
464
464
<divclass="tags-list">
465
465
{% for tag in row|get:col %}
466
466
<spanclass="tag" data-tag="{{ tag }}">{{ tag }} <spanclass="remove-tag" data-tag="{{ tag }}">×</span></span>
@@ -479,15 +479,7 @@ <h1>Extra Hints!</h1>
479
479
{% if unique_tab %}
480
480
{% for col, value in metadata_dict.items %}
481
481
<tddata-col="{{ col }}" data-coltype="element" class="text-center">
482
-
{% if col == key %}
483
-
<inputtype="checkbox" class="checkbox-element" data-role="{{ col }}" name="checkbox-{{ col }}" checked>
484
-
{% elif col == "author" %}
485
-
<inputtype="checkbox" class="checkbox-element" data-role="{{ col }}" name="checkbox-{{ col }}" {%ifmetadata_dict|check_author:contributor%}checked{%endif%}>
486
-
{% elif col == "maintainer" %}
487
-
<inputtype="checkbox" class="checkbox-element" data-role="{{ col }}" name="checkbox-{{ col }}" {%ifmetadata_dict|check_maintainer:contributor%}checked{%endif%}>
488
-
{% else %}
489
-
<inputtype="checkbox" class="checkbox-element" data-role="{{ col }}" name="checkbox-{{ col }}">
490
-
{% endif %}
482
+
<inputtype="checkbox" class="checkbox-element" data-role="{{ col }}" name="checkbox-{{ col }}" {%ifvalue|check_person_in_list:row%}checked{%endif%}>
491
483
</td>
492
484
{% endfor %}
493
485
{% endif %}
@@ -502,16 +494,16 @@ <h1>Extra Hints!</h1>
502
494
<tdclass="disabled"></td>
503
495
{% for col, value in specific_types.items %}
504
496
{% if value == 'tagging' or value == 'tagging_autocomplete' %}
505
-
<tdclass="tags-table-container add-row-tags-container" data-type={{default_type}}data-coltype="{{ value }}" data-col="{{ col }}">
497
+
<tdclass="tags-table-container add-row-tags-container" data-type="{{ default_type }}"data-coltype="{{ value }}" data-col="{{ col }}">
506
498
<!-- Tags will be inserted here by JS -->
507
499
{% if value == "tagging" %}
508
-
<inputtype="text" class="add-row-tag-input" data-type={{default_type}}data-coltype="{{ value }}" data-col="{{ col }}" placeholder="Add {{col|camel_to_spaces_lower}} and press Enter" />
500
+
<inputtype="text" class="add-row-tag-input" data-type="{{ default_type }}"data-coltype="{{ value }}" data-col="{{ col }}" placeholder="Add {{col|camel_to_spaces_lower}} and press Enter" />
509
501
{% else %}
510
-
<inputtype="text" class="add-row-tag-input" data-type={{default_type}}data-coltype="{{ value }}" data-col="{{ col }}" placeholder="Type and select from list for {{col|camel_to_spaces_lower}}" />
502
+
<inputtype="text" class="add-row-tag-input" data-type="{{ default_type }}"data-coltype="{{ value }}" data-col="{{ col }}" placeholder="Type and select from list for {{col|camel_to_spaces_lower}}" />
511
503
{% endif %}
512
504
</td>
513
505
{% elif value == 'dropdown' %}
514
-
<tdclass="tags-table-container add-row-tags-container" data-type={{default_type}}data-coltype="{{ value }}" data-col="{{ col }}">
506
+
<tdclass="tags-table-container add-row-tags-container" data-type="{{ default_type }}"data-coltype="{{ value }}" data-col="{{ col }}">
515
507
<selectclass="add-row-dropdown-select"
516
508
data-type="{{ default_type }}"
517
509
data-coltype="{{ value }}"
@@ -521,8 +513,8 @@ <h1>Extra Hints!</h1>
521
513
</select>
522
514
</td>
523
515
{% else %}
524
-
<tdclass="tags-table-container" data-type={{default_type}}data-coltype="{{ value }}" data-col="{{ col }}">
525
-
<inputtype="text" class="add-row-input" data-type={{default_type}}data-coltype="{{ value }}" data-col="{{ col }}" placeholder="{{ col|camel_to_spaces_lower }}"/>
516
+
<tdclass="tags-table-container" data-type="{{ default_type }}"data-coltype="{{ value }}" data-col="{{ col }}">
517
+
<inputtype="text" class="add-row-input" data-type="{{ default_type }}"data-coltype="{{ value }}" data-col="{{ col }}" placeholder="{{ col|camel_to_spaces_lower }}"/>
0 commit comments