blob: c6aef4db231cf578b2791ecf5f44a0baab1f8f94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<label<?= ($this->required ? ' class="studiprequired"' : '') ?> for="<?= $id ?>">
<span class="textlabel">
<?= htmlReady($this->title) ?>
</span>
<? if ($this->required) : ?>
<span class="asterisk" title="<?= _('Dies ist ein Pflichtfeld') ?>" aria-hidden="true">*</span>
<? endif ?>
</label>
<range-input v-model="<?= htmlReady($name) ?>"
name="<?= htmlReady($name) ?>"
value="<?= htmlReady($value) ?>"
id="<?= $id ?>"
<? if (isset($min)) printf(':min="%s"', $min); ?>
<? if (isset($max)) printf(':max="%s"', $max); ?>
<? if (isset($step)) printf(':max="%s"', $step); ?>
<?= $attributes ?>></range-input>
|