1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
<?php
echo $this->Form->create('Post',array('class'=>'navbar-form'));
echo '<div class="form-group">';
echo $this->Form->input('id');
echo $this->Form->input('type',array('value'=>'page','type'=>'hidden'));
echo $this->Form->input('name', array('label'=>'Name','class'=>'form-control'));
echo $this->Form->input('menutitle', array('label'=>'Menu title','class'=>'form-control'));
echo $this->Form->input('showmenu', array('label'=>' Show in the menu'));
echo $this->Form->input('pagetitle', array('label'=>'Title of page','class'=>'form-control'));
echo $this->Form->input('slug', array('label'=>'Slug','class'=>'form-control'));
echo $this->Form->input('content', array('label'=>'Content','class'=>'form-control'));
echo $this->Form->input('created', array('label'=>'Creation time','class'=>'form-control','dateFormat'=>'DMY','timeFormat'=>'24'));
echo $this->Form->input('parentid', array('label'=>'Parent ID','class'=>'form-control'));
echo $this->Form->input('online',array('label'=>"Online ?",'type'=>'checkbox'));
echo $this->Form->input('order', array('label'=>'Order','class'=>'form-control'));
echo '</div>';
echo $this->Form->end('Envoyer');
?> |
Partager