diff options
Diffstat (limited to 'protected/views/speisTrank/index.php')
| -rw-r--r-- | protected/views/speisTrank/index.php | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/protected/views/speisTrank/index.php b/protected/views/speisTrank/index.php index a5936d0..48015fc 100644 --- a/protected/views/speisTrank/index.php +++ b/protected/views/speisTrank/index.php @@ -6,34 +6,14 @@ $this->breadcrumbs=array( $this->menu=array( array('label'=>'Kulinarisches Angebot erstellen', 'url'=>array('create')), ); - -Yii::app()->clientScript->registerScript('search', " -$('.search-button').click(function(){ - $('.search-form').toggle(); - return false; -}); -$('.search-form form').submit(function(){ - $.fn.yiiGridView.update('angebot-grid', { - data: $(this).serialize() - }); - return false; -}); -"); ?> - <h1>Speis & Trank</h1> -<p> -Die optionale Eingabe von Vergleichsoperatoren (<b><</b>, <b><=</b>, <b>></b>, <b>>=</b>, <b><></b> -or <b>=</b>) zu Beginn eines Suchwertes dient der Spezifikation, wie der Vergleich erfolgen soll. -</p> +<?php $this->renderPartial('/common/_comparison_text'); ?> -<?php echo CHtml::link('Erweiterte Suche','#',array('class'=>'search-button')); ?> -<div class="search-form" style="display:none"> -<?php $this->renderPartial('_search',array( +<?php $this->renderPartial('/common/_advanced_search',array( 'model'=>$model, )); ?> -</div><!-- search-form --> <?php $this->widget('zii.widgets.grid.CGridView', array( 'id'=>'angebot-grid', |
