<?php $this->extend('block_searchable'); ?> <?php $this->block('content'); ?> <form id="form_oxTicketSelect_<?= $this->id ?>"<?php if ($this->action): ?> action="<?= $this->action ?>"<?php endif; ?> method="get"> <div class="formbody"> <div class="widget widget-select w100"> <label for="ticket_select_<?= $this->id ?>"><?= $this->selectLabel ?></label> <select class="select" name="ticket_select" id="ticket_select_<?= $this->id ?>"> <option value="">-</option> <?php foreach ($this->selectOptions as $option): ?> <option value="<?= $option['OXID'] ?>"<?php if (\Input::get('ticket_select') && \Input::get('ticket_select') == $option['OXID']): ?> selected<?php endif; ?>><?php echo ($option['PARENTTITLE'] ? $option['PARENTTITLE'].' '.$option['OXVARSELECT'] : $option['OXTITLE']); ?></option> <?php endforeach; ?> </select> </div> <div class="submit_container widget lblp button_block"> <button type="submit" class="submit"><?= $this->submitLabel ?></button> </div> </div> </form> <?php $this->endblock(); ?>