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.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/protected/views/verein/index.php b/protected/views/verein/index.php
new file mode 100644
index 0000000..cfdd6e0
--- /dev/null
+++ b/protected/views/verein/index.php
@@ -0,0 +1,19 @@
+<?php
+$this->breadcrumbs=array(
+ 'Vereine',
+);
+
+$this->menu=array(
+ array('label'=>'Verein erstellen', 'url'=>array('create'),'visible'=>!Yii::app()->user->isGuest),
+);
+?>
+
+<h2>Vereine</h2>
+<?php $this->widget('zii.widgets.CListView', array(
+ 'dataProvider'=>$model->search(),
+ 'itemView'=>'_short', // refers to the partial view named '_post'
+ 'sortableAttributes'=>array(
+ 'name',
+ /*'create_time'=>'Post Time',*/
+ ),
+ ));?>