adding show instance to the create form if it's already set.
This commit is contained in:
parent
614a8174d5
commit
9c0bee3877
3 changed files with 26 additions and 6 deletions
|
@ -45,9 +45,14 @@
|
|||
<label for="<?php echo $name;?>"><?php echo _("Choose Show Instance") ?></label>
|
||||
</div>
|
||||
<div>
|
||||
<?php $select = $form->getElement("his_instance_select"); ?>
|
||||
<?php if (isset($select)): ?>
|
||||
<?php echo $select; ?>
|
||||
<?php else: ?>
|
||||
<select id="his_instance_select">
|
||||
<option value="0"><?php echo _("No Show") ?></option>
|
||||
</select>
|
||||
<?php endif; ?>
|
||||
<button class="btn" type="button" id="his_instance_retrieve"><?php echo _("Find") ?></button>
|
||||
</div>
|
||||
</dd>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue