Removed minifig checkbox if set doesn't contain any
This commit is contained in:
parent
f33690b79c
commit
b1404ac7bd
@ -215,6 +215,7 @@
|
|||||||
|
|
||||||
<div class="column is-half">
|
<div class="column is-half">
|
||||||
<div class="is-size-7">
|
<div class="is-size-7">
|
||||||
|
{% if i[0] in minifigs %}
|
||||||
<label class="checkbox" >
|
<label class="checkbox" >
|
||||||
<input type="hidden" id="set_num" value="{{ i[0] }}">
|
<input type="hidden" id="set_num" value="{{ i[0] }}">
|
||||||
<input type="hidden" id="u_id" value="{{ i[11] }}">
|
<input type="hidden" id="u_id" value="{{ i[11] }}">
|
||||||
@ -231,6 +232,7 @@
|
|||||||
Minifigs Collected
|
Minifigs Collected
|
||||||
</label>
|
</label>
|
||||||
<br>
|
<br>
|
||||||
|
{% endif %}
|
||||||
<label class="checkbox" >
|
<label class="checkbox" >
|
||||||
<input type="hidden" id="set_num" value="{{ i[0] }}">
|
<input type="hidden" id="set_num" value="{{ i[0] }}">
|
||||||
<input type="hidden" id="u_id" value="{{ i[11] }}">
|
<input type="hidden" id="u_id" value="{{ i[11] }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user