Wrap checkbox label in <label>

This commit is contained in:
Chandler Swift 2024-03-06 22:54:39 -06:00
parent 3d3eb897d0
commit 79d6c89f25
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F

View file

@ -62,7 +62,8 @@
<div class="col-8">
<canvas id="canvas" class="mx-3 my-auto" @vue:mounted="draw" width="800" height="600"></canvas>
<div>
<input type="checkbox" v-model="show_unguessed_cities" @change="draw"> Show unguessed cities
<input type="checkbox" id="show-unguessed-checkbox" v-model="show_unguessed_cities" @change="draw">
<label for="show-unguessed-checkbox">Show unguessed cities</label>
</div>
</div>
</div>