templates/relaunch2017/form_textfield.html5 line 20

Open in your IDE?
  1. <?php $this->extend('form_row'); ?>
  2. <?php $this->block('label'); ?>
  3.   <?php if ($this->label): ?>
  4.     <label for="ctrl_<?= $this->id ?>"<?php if ($this->class): ?> class="<?= $this->class ?>"<?php endif; ?>>
  5.       <?php if ($this->mandatory): ?>
  6.         <span class="invisible"><?= $this->mandatoryField ?> </span><?= $this->label ?><span class="mandatory">*</span>
  7.       <?php else: ?>
  8.         <?= $this->label ?>
  9.       <?php endif; ?>
  10.     </label>
  11.   <?php endif; ?>
  12. <?php $this->endblock(); ?>
  13. <?php $this->block('field'); ?>
  14.   <?php if ($this->hasErrors()): ?>
  15.     <p class="error"><?= $this->getErrorAsString() ?></p>
  16.   <?php endif; ?>
  17.   <input type="<?= $this->type ?>" name="<?= $this->name ?>" id="ctrl_<?= $this->id ?>" class="form-control text<?php if ($this->hideInput) echo ' password'?><?php if ($this->class) echo ' ' $this->class?>" value="<?= specialchars($this->value?>"<?= $this->getAttributes() ?>>
  18.   <?php if ($this->addSubmit): ?>
  19.     <input type="submit" id="ctrl_<?= $this->id ?>_submit" class="submit" value="<?= $this->slabel ?>">
  20.   <?php endif; ?>
  21. <?php $this->endblock(); ?>