~fusonic/chive/1.1

« back to all changes in this revision

Viewing changes to yii/cli/views/shell/crud/create.php

  • Committer: Matthias Burtscher
  • Date: 2010-02-12 09:12:35 UTC
  • Revision ID: matthias.burtscher@fusonic.net-20100212091235-jqxrb62klx872ajc
* Updated Yii to 1.1.0
* Removed CodePress and CodeMirror
* Updated jQuery and some plugins
* Cleaned some code ...

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 * - $columns: a list of column schema objects
8
8
 */
9
9
?>
10
 
<h2>New <?php echo $modelClass; ?></h2>
11
 
 
12
 
<div class="actionBar">
13
 
[<?php echo "<?php echo CHtml::link('{$modelClass} List',array('list')); ?>"; ?>]
14
 
[<?php echo "<?php echo CHtml::link('Manage {$modelClass}',array('admin')); ?>"; ?>]
15
 
</div>
16
 
 
17
 
<?php echo "<?php echo \$this->renderPartial('_form', array(
18
 
        'model'=>\$model,
19
 
        'update'=>false,
20
 
)); ?>"; ?>
 
10
<?php
 
11
echo "<?php\n";
 
12
$label=$this->class2name($modelClass,true);
 
13
echo "\$this->breadcrumbs=array(
 
14
        '$label'=>array('index'),
 
15
        'Create',
 
16
);\n";
 
17
?>
 
18
?>
 
19
<h1>Create <?php echo $modelClass; ?></h1>
 
20
 
 
21
<ul class="actions">
 
22
        <li><?php echo "<?php echo CHtml::link('List {$modelClass}',array('index')); ?>"; ?></li>
 
23
        <li><?php echo "<?php echo CHtml::link('Manage {$modelClass}',array('admin')); ?>"; ?></li>
 
24
</ul><!-- actions -->
 
25
 
 
26
<?php echo "<?php echo \$this->renderPartial('_form', array('model'=>\$model)); ?>"; ?>