|
@@ -13,7 +13,9 @@
|
|
<?php if (null !== $empty_value): ?><option value=""><?php echo $view->escape($view['translator']->trans($empty_value)) ?></option><?php endif; ?>
|
|
<?php if (null !== $empty_value): ?><option value=""><?php echo $view->escape($view['translator']->trans($empty_value)) ?></option><?php endif; ?>
|
|
<?php if (count($preferred_choices) > 0): ?>
|
|
<?php if (count($preferred_choices) > 0): ?>
|
|
<?php echo $view['form']->renderBlock('choice_options', array('options' => $preferred_choices)) ?>
|
|
<?php echo $view['form']->renderBlock('choice_options', array('options' => $preferred_choices)) ?>
|
|
- <option disabled="disabled"><?php echo $separator ?></option>
|
|
|
|
|
|
+ <?php if (count($choices) > 0): ?>
|
|
|
|
+ <option disabled="disabled"><?php echo $separator ?></option>
|
|
|
|
+ <?php endif ?>
|
|
<?php endif ?>
|
|
<?php endif ?>
|
|
<?php echo $view['form']->renderBlock('choice_options', array('options' => $choices)) ?>
|
|
<?php echo $view['form']->renderBlock('choice_options', array('options' => $choices)) ?>
|
|
</select>
|
|
</select>
|