<h5>Preferred Time</h5>
<div class="container">
<table>
<tr>
{% for val,day in days %}
<th>{{ day }}</th>
{% endfor %}
</tr>
{% for val,day in days %}
{% for v,time in times %}
<tr>
<td><input type="checkbox" name="timedays" value="{{val}}-{{v}}">{{ time }}</td>
</tr>
{% endfor %}
{% endfor %}
</table>
<div class="row">
<div class="row p-2">
<br>
{% for val,day in days %}
<div class="col-sm">
{{ day }}<br>
{% for v,time in times %}
<div class="checkbox p">
<label><input type="checkbox" name="timedays" value="{{val}}-{{v}}">{{ time }}</label>
</div>
{% endfor %}
</div>
{% endfor %}
</div>
</div>
</div>
<hr>
</div>