mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-2327_report_refacto_41 base collections/fields fix
This commit is contained in:
@@ -61,30 +61,30 @@
|
||||
<div class="form3 form_content">
|
||||
<div class="form_titre">{{ "report:: 4 - Fields" | trans }}</div>
|
||||
|
||||
<div class="collist">
|
||||
{% for sbas_id,databox in granted_bases %}
|
||||
<div class="collist collist-{{ sbas_id }}">
|
||||
<div class="collist_buttons">
|
||||
<button class="select-all btn btn-mini" data-target_selector="#chkfld-records input:checkbox">
|
||||
<button class="select-all btn btn-mini" data-target_selector="#chkfld-records-{{ sbas_id }} input:checkbox">
|
||||
{% trans %}Select all{% endtrans %}
|
||||
</button>
|
||||
<button class="unselect-all btn btn-mini" data-target_selector="#chkfld-records input:checkbox">
|
||||
<button class="unselect-all btn btn-mini" data-target_selector="#chkfld-records-{{ sbas_id }} input:checkbox">
|
||||
{% trans %}Deselect all{% endtrans %}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<ul id="chkfld-records" style="max-height: 150px; overflow-y: auto; overflow-x: hidden;">
|
||||
{% for sbas_id,databox in granted_bases %}
|
||||
{% for meta in databox.metas %}
|
||||
<li>
|
||||
<label class="checkbox custom_checkbox_label">
|
||||
<input name="meta[]" checked="checked" type="checkbox" value="{{ meta }}">
|
||||
<span class="custom_checkbox"></span>
|
||||
{{ meta }}
|
||||
</label>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
<ul id="chkfld-records-{{ sbas_id }}" style="max-height: 150px; overflow-y: auto; overflow-x: hidden;">
|
||||
{% for meta in databox.metas %}
|
||||
<li>
|
||||
<label class="checkbox custom_checkbox_label">
|
||||
<input name="meta[]" checked="checked" type="checkbox" value="{{ meta }}">
|
||||
<span class="custom_checkbox"></span>
|
||||
{{ meta }}
|
||||
</label>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock form_records %}
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user