<div class="controls"> <?php echo AkeebasubsHelperSelect::levels('target_level_id', $this->item->target_level_id); ?> </div> </div> <div class="control-group"> <label for="mode" class="control-label"> <?php echo JText::_('COM_AKEEBASUBS_RELATIONS_FIELD_MODE'); ?> </label> <div class="controls"> <?php echo AkeebasubsHelperSelect::relationmode('mode', empty($this->item->mode) ? 'flexi' : $this->item->mode, array('onchange' => 'akeebasubs_relations_mode_onChange();')); ?> </div> </div> <div class="control-group"> <label for="type" class="control-label"> <?php echo JText::_('COM_AKEEBASUBS_RELATIONS_FIELD_TYPE'); ?> </label> <div class="controls"> <?php echo AkeebasubsHelperSelect::coupontypes('type', $this->item->type); ?>