mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 04:16:16 +02:00
Fix form label naming
This commit is contained in:
parent
e40979a874
commit
dd1d253ea5
|
|
@ -22,7 +22,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="period_type">Location</label>
|
<label for="period_type">Period type</label>
|
||||||
<select required class="form-control input-group-habit-period-type" id="period_type" name="period_type">
|
<select required class="form-control input-group-habit-period-type" id="period_type" name="period_type">
|
||||||
<?php foreach ($periodTypes as $periodType) : ?>
|
<?php foreach ($periodTypes as $periodType) : ?>
|
||||||
<option <?php if ($mode == 'edit' && $periodType == $habit->period_type) echo 'selected="selected"'; ?> value="<?php echo $periodType; ?>"><?php echo $periodType; ?></option>
|
<option <?php if ($mode == 'edit' && $periodType == $habit->period_type) echo 'selected="selected"'; ?> value="<?php echo $periodType; ?>"><?php echo $periodType; ?></option>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user