diff options
| author | Tristan Zur <tzur@ccwn.org> | 2012-05-18 12:05:47 +0200 |
|---|---|---|
| committer | Tristan Zur <tzur@ccwn.org> | 2012-05-18 12:05:47 +0200 |
| commit | fdca87325b4f7708a1868419f391fc6a84da1661 (patch) | |
| tree | 7f0bf6cbcc71c8d3dc6ccc04671304bc9f43c770 /protected/views/myAngebot/_form.php | |
| parent | 3b42a2c428cf9faac8656c72b338f0115e7b6bdf (diff) | |
- Speis & Trank (Vereine) Layout korrigiert
- Schreibfehler in Main-Layout korrigiert
Diffstat (limited to 'protected/views/myAngebot/_form.php')
| -rw-r--r-- | protected/views/myAngebot/_form.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protected/views/myAngebot/_form.php b/protected/views/myAngebot/_form.php index b52a5cc..409862b 100644 --- a/protected/views/myAngebot/_form.php +++ b/protected/views/myAngebot/_form.php @@ -14,7 +14,7 @@ <?php $this->widget('zii.widgets.jui.CJuiAutoComplete', array( 'name'=>'angebot_name', 'source'=>$angebote, - 'value'=>$model->angebot->name, + 'value'=>(null != $model->angebot) ? $model->angebot->name : '', // additional javascript options for the autocomplete plugin 'options'=>array( 'minLength'=>'2', @@ -44,6 +44,7 @@ 'style'=>'height:20px;' ), )); ?> + <?php echo $form->hiddenField($model, 'angebot_id'); ?> <?php echo $form->error($model, 'angebot_id'); ?> </div> |
