<?php $this->extend('form_row_double'); ?> <?php $this->block('label'); ?> <?php if ($this->hasErrors()): ?> <span class="errortip" title="<?= htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span> <?php endif; ?> <?php if ($this->label): ?> <label for="ctrl_<?= $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>> <?php if ($this->mandatory): ?> <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span> <?php else: ?> <?= $this->label; ?> <?php endif; ?> </label> <?php endif; ?> <?php $this->endblock(); ?> <?php $this->block('field'); ?> <input type="password" name="<?= $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="text password<?php if ($this->class) echo ' ' . $this->class; ?>" value=""<?php echo $this->getAttributes(); ?>> <?php if ($this->addSubmit): ?> <input type="submit" id="ctrl_<?= $this->id; ?>_submit" class="submit" value="<?php echo $this->slabel; ?>"> <?php endif; ?> <?php $this->endblock(); ?> <?php $this->block('label2'); ?> <?php if ($this->confirmLabel): ?> <label for="ctrl_<?= $this->id; ?>_confirm" class="confirm<?php if ($this->class) echo ' ' . $this->class; ?>"> <?php if ($this->mandatory): ?> <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->confirmLabel; ?><span class="mandatory">*</span> <?php else: ?> <?= $this->confirmLabel; ?> <?php endif; ?> </label> <?php endif; ?> <?php $this->endblock(); ?> <?php $this->block('field2'); ?> <input type="password" name="<?= $this->name; ?>_confirm" id="ctrl_<?php echo $this->id; ?>_confirm" class="text password<?php if ($this->class) echo ' ' . $this->class; ?>" value=""<?php echo $this->getAttributes(); ?>> <?php $this->endblock(); ?>