Update
This commit is contained in:
@@ -14,18 +14,9 @@
|
||||
<div>
|
||||
<label>Fields to search</label>
|
||||
<div class="chips">
|
||||
{% for field,label,checked in [
|
||||
('subject','Subject', selected.subject),
|
||||
('illustration','Illustration', selected.illustration),
|
||||
('application','Application', selected.application),
|
||||
('scripture_raw','Scripture', selected.scripture_raw),
|
||||
('source','Source', selected.source),
|
||||
('talk_title','Talk Title', selected.talk_title),
|
||||
('talk_number','Talk Number', selected.talk_number),
|
||||
('entry_code','Code', selected.entry_code),
|
||||
] %}
|
||||
{% for opt in field_options %}
|
||||
<label class="badge">
|
||||
<input type="checkbox" name="{{ field }}" {% if checked %}checked{% endif %}/> {{ label }}
|
||||
<input type="checkbox" name="{{ opt.name }}" {% if opt.checked %}checked{% endif %}/> {{ opt.label }}
|
||||
</label>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user