HTML-Prototype der OTH-Regensburg

<insert-markup>2.3-</insert-markup>
Formulartitel
Ihr Anliegen betrifft
Markup: templates/output/04-elements/forms/demoform.html

<form action="#" method="post">
  <fieldset>
    <legend class="u-visually-hidden">Formulartitel</legend>
    <div class="form-group">
      <div class="u-floating-label">
        <input type="text" id="demoform-name" name="name" placeholder="Mustermann"/>
        <label for="demoform-name">Mustermann</label>
      </div>
    </div>
    <div class="form-group">
      <div class="u-floating-label">
        <input type="text" id="demoform-surname" name="surname" placeholder="Max"/>
        <label for="demoform-surname">Max</label>
      </div>
    </div>
    <div class="form-group">
      <div class="u-floating-label">
        <input type="text" id="demoform-street" name="street" placeholder="Kunstmühlstraße 12"/>
        <label for="demoform-street">Kunstmühlstraße 12</label>
      </div>
    </div>
    <div class="form-group">
      <div class="u-floating-label">
        <input type="text" id="demoform-zipcity" name="zipcity" placeholder="93047, Regensburg"/>
        <label for="demoform-zipcity">93047, Regensburg</label>
      </div>
    </div>
    <div class="form-group">
      <div class="u-floating-label">
        <input type="text" id="demoform-phone" name="phone" placeholder="+49 941/000-01"/>
        <label for="demoform-phone">+49 941/000-01</label>
      </div>
    </div>
    <div class="form-group">
      <div class="u-floating-label">
        <input type="text" id="demoform-fax" name="fax" placeholder="+49 941/000-02"/>
        <label for="demoform-fax">+49 941/000-02</label>
      </div>
    </div>
    <div class="form-group">
      <div class="u-floating-label">
        <input type="text" id="demoform-disabled" name="disabled-field" placeholder="disabled form field" disabled="disabled"/>
        <label for="demoform-disabled">disabled form field</label>
      </div>
    </div>
    <div class="form-group">
      <div class="u-floating-label">
        <input type="email" name="email" id="demoform-mail" placeholder="max.mustermann@oth-regensburg.de"/>
        <label for="demoform-mail">max.mustermann@oth-regensburg.de</label>
      </div>
    </div>
    <div class="form-group">
      <!-- Render regular label, if renderHiddenCheckbox is true, else render span tag with text-->
      <label for="vue-dropdown-1583">Auswahl Singleselect</label>
      <div class="u-dropdown" data-dropdown-injector="{&quot;id&quot;:&quot;vue-dropdown-1583&quot;,&quot;label&quot;:&quot;Auswahl Singleselect&quot;,&quot;renderHiddenSelect&quot;:true,&quot;isRequired&quot;:true,&quot;invalidMessage&quot;:&quot;Hinweis zum Ausfüllen Lorem ipsum dolor sit amet, consectetuer adipiscing elit.&quot;,&quot;multiple&quot;:false,&quot;placeholder&quot;:&quot;Bitte wählen&quot;,&quot;name&quot;:&quot;tx_powermail_pi1[field][vue-dropdown-1583]&quot;,&quot;options&quot;:[{&quot;uid&quot;:1,&quot;text&quot;:&quot;Dropdown menu item 1&quot;,&quot;value&quot;:&quot;1&quot;,&quot;active&quot;:true},{&quot;uid&quot;:2,&quot;text&quot;:&quot;Dropdown menu item 2&quot;,&quot;value&quot;:&quot;2&quot;,&quot;active&quot;:false},{&quot;uid&quot;:3,&quot;text&quot;:&quot;Dropdown menu item 3&quot;,&quot;value&quot;:&quot;3&quot;,&quot;active&quot;:false},{&quot;uid&quot;:4,&quot;text&quot;:&quot;Dropdown menu item 4&quot;,&quot;value&quot;:&quot;4&quot;,&quot;active&quot;:false}]}">
        <button class="u-dropdown__button" aria-haspopup="true" aria-expanded="false" type="button"><span></span>
          <svg class="u-dropdown__button-arrow" viewBox="0 0 25 24" role="img" aria-hidden="true" focusable="false">
            <use xlink:href="Images/svg/sprite.symbol.svg#icon-chevron-down"></use>
          </svg>
        </button>
        <!-- Render dummy select field for label, if renderHiddenCheckbox is true, else render nothing-->
        <!-- dummy select, will be replaced later via vue mounting-->
        <select id="vue-dropdown-1583" required="required" style="position: absolute; visibility: hidden;">
          <option value="">Bitte Auswahl treffen</option>
          <option value="1">Dropdown menu item 1</option>
          <option value="2">Dropdown menu item 2</option>
          <option value="3">Dropdown menu item 3</option>
          <option value="4">Dropdown menu item 4</option>
        </select>
      </div>
    </div>
    <div class="form-group">
      <!-- Render regular label, if renderHiddenCheckbox is true, else render span tag with text-->
      <label for="vue-dropdown-1683">Auswahl Multiselect</label>
      <div class="u-dropdown" data-dropdown-injector="{&quot;id&quot;:&quot;vue-dropdown-1683&quot;,&quot;label&quot;:&quot;Auswahl Multiselect&quot;,&quot;renderHiddenSelect&quot;:true,&quot;isRequired&quot;:true,&quot;invalidMessage&quot;:&quot;Hinweis zum Ausfüllen Lorem ipsum dolor sit amet, consectetuer adipiscing elit.&quot;,&quot;multiple&quot;:true,&quot;placeholder&quot;:&quot;Bitte wählen&quot;,&quot;name&quot;:&quot;tx_powermail_pi1[field][vue-dropdown-1683][]&quot;,&quot;options&quot;:[{&quot;uid&quot;:1,&quot;text&quot;:&quot;Dropdown menu item 1&quot;,&quot;value&quot;:&quot;1&quot;,&quot;active&quot;:true},{&quot;uid&quot;:2,&quot;text&quot;:&quot;Dropdown menu item 2&quot;,&quot;value&quot;:&quot;2&quot;,&quot;active&quot;:true},{&quot;uid&quot;:3,&quot;text&quot;:&quot;Dropdown menu item 3&quot;,&quot;value&quot;:&quot;3&quot;,&quot;active&quot;:false},{&quot;uid&quot;:4,&quot;text&quot;:&quot;Dropdown menu item 4&quot;,&quot;value&quot;:&quot;4&quot;,&quot;active&quot;:false}]}" data-tag-container="#badge-container-1">
        <button class="u-dropdown__button" aria-haspopup="true" aria-expanded="false" type="button"><span></span>
          <svg class="u-dropdown__button-arrow" viewBox="0 0 25 24" role="img" aria-hidden="true" focusable="false">
            <use xlink:href="Images/svg/sprite.symbol.svg#icon-chevron-down"></use>
          </svg>
        </button>
        <!-- Render dummy select field for label, if renderHiddenCheckbox is true, else render nothing-->
        <!-- dummy select, will be replaced later via vue mounting-->
        <select id="vue-dropdown-1683" required="required" style="position: absolute; visibility: hidden;">
          <option value="">Bitte Auswahl treffen</option>
          <option value="1">Dropdown menu item 1</option>
          <option value="2">Dropdown menu item 2</option>
          <option value="3">Dropdown menu item 3</option>
          <option value="4">Dropdown menu item 4</option>
        </select>
      </div>
      <div id="badge-container-1"></div>
    </div>
    <div class="form-group">
      <label for="demoform-upload">Upload</label>
      <div class="u-uploadfield" data-text="Durchsuchen..." data-buttontext="Hochladen">
        <input id="demoform-upload" type="file"/>
      </div>
    </div>
    <div class="form-group">
      <fieldset>
        <legend>Ihr Anliegen betrifft</legend>
        <div class="form-radiogroup">
          <input id="demoform-matter-1" name="matter" type="radio" checked="checked"/>
          <label for="demoform-matter-1"><span>Option 1</span></label>
          <input id="demoform-matter-2" name="matter" type="radio"/>
          <label for="demoform-matter-2"><span>Option 2</span></label>
          <input id="demoform-matter-3" name="matter" type="radio" disabled="disabled"/>
          <label for="demoform-matter-3"><span>Option 3</span></label>
        </div>
      </fieldset>
    </div>
    <div class="form-group">
      <label for="demoform-message">Nachricht</label>
      <textarea id="demoform-message" rows="8" cols="48" name="message" placeholder="Schreiben Sie hier Ihre Nachricht"></textarea>
    </div>
    <div class="form-group">
      <input type="checkbox" id="checkboxdemo-privacy" name="privacy"/>
      <label for="checkboxdemo-privacy"><span>Ich habe die <a class="textlink" href="#">Datenschutzerklärung</a> zur Kenntnis genommen. Ich stimme zu, dass meine Angaben und Daten zur Beantwortung meiner Anfrage elektronisch erhoben und gespeichert werden.</span></label>
    </div>
    <button class="btn btn--secondary">Abschicken</button>
  </fieldset>
</form>
Source: assets/sass/04-elements/_elements.forms.scss, line 5