summaryrefslogtreecommitdiff
path: root/protected/views/verein/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'protected/views/verein/index.php')
-rw-r--r--protected/views/verein/index.php28
1 files changed, 4 insertions, 24 deletions
diff --git a/protected/views/verein/index.php b/protected/views/verein/index.php
index a396dbb..ca98727 100644
--- a/protected/views/verein/index.php
+++ b/protected/views/verein/index.php
@@ -1,40 +1,20 @@
<?php
$this->breadcrumbs=array(
- 'Vereine'=>array('index'),
- 'Verwalten',
+ 'Vereine',
);
$this->menu=array(
array('label'=>'Verein 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('verein-grid', {
- data: $(this).serialize()
- });
- return false;
-});
-");
?>
-<h1>Vereine verwalten</h1>
+<h1>Vereine</h1>
-<p>
-Die optionale Eingabe von Vergleichsoperatoren (<b>&lt;</b>, <b>&lt;=</b>, <b>&gt;</b>, <b>&gt;=</b>, <b>&lt;&gt;</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'=>'verein-grid',