Change hour divs to spans for better plain html

Just in case someone wants to run without CSS
master
Damian Peterson 2 years ago
parent 29c4ed5f3c
commit 98487423f8

@ -435,11 +435,11 @@ if ($isLoggedIn && $_POST) {
<?php endif; ?>
<div class="hours">
<?php foreach ($times as $key => $value): ?>
<div class="hour<?php if ($key == $selectedHour): ?> selected<?php endif; ?>">
<span class="hour<?php if ($key == $selectedHour): ?> selected<?php endif; ?>">
<input type="radio" id="hour<?= $key ?>" name="hour"
value="<?= $key ?>"<?php if ($key == $selectedHour): ?> checked<?php endif; ?>>
<label for="hour<?= $key ?>" title="<?= $value ?>"><?= $value ?></label>
</div>
</span>
<?php endforeach; ?>
</div>
<div class="actions">

Loading…
Cancel
Save