Skip to content
Snippets Groups Projects
Select Git revision
  • 4d7526194dbe2c648c4b4b409c99dd7ed7332f24
  • main default protected
  • step-3263
  • feature/plugins-cli
  • feature/vite
  • step-2484-peerreview
  • biest/issue-5051
  • tests/simplify-jsonapi-tests
  • fix/typo-in-1a70031
  • feature/broadcasting
  • database-seeders-and-factories
  • feature/peer-review-2
  • feature-feedback-jsonapi
  • feature/peerreview
  • feature/balloon-plus
  • feature/stock-images-unsplash
  • tic-2588
  • 5.0
  • 5.2
  • biest/unlock-blocks
  • biest-1514
21 results

select_input.php

Blame
  • Forked from Stud.IP / Stud.IP
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    select_input.php 785 B
    <div class="formpart">
        <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>
        <select class="select2" v-model="<?= htmlReady($this->name) ?>" <?= ($this->required ? 'required aria-required="true"' : '') ?> id="<?= $id ?>" <?= $attributes ?>>
        <? foreach ($options as $key => $option) : ?>
            <option value="<?= htmlReady($key) ?>"<?= ($key == $value ? " selected" : "") ?>>
                <?= htmlReady($option) ?>
            </option>
        <? endforeach ?>
        </select>
    </div>