<div class="articles form">
<?php echo $this->Form->create('Article');?>
<fieldset>
<legend><?php echo __('?lanek');?></legend>
<?php
echo $this->Form->input('id');
echo $this->Form->input('title', array('label' => 'Naslov'));
echo $this->Form->input('body', array('label' => 'Vsebina'));
?>
</fieldset>
<fieldset>
<legend><?php echo __('SEO');?></legend>
<?php
echo $this->Form->input('slug', array('label' => 'SLUG (naslov-clanka)'));
echo $this->Form->input('description', array('label' => 'Kratek opis/povzetek ?lanka'));
echo $this->Form->input('keywords', array('label' => 'Klju?ne besede (kljucna, beseda, clanek)'));
?>
</fieldset>
<fieldset>
<legend><?php echo __('Ostalo');?></legend>
<?php
echo $this->Form->input('published', array('label' => 'Objavljen'));
echo $this->Form->input('start', array('label' => 'Datum pri?etka objave', 'dateFormat' => 'DMY'));
?>
</fieldset>
<?php echo $this->Form->end('Shrani');?>
</div>
<div class="actions">
<ul>
<li><?php echo $this->Html->link(__('Spisek ?lankov'), array('action'=>'index'));?></li>
</ul>
</div>
<script>
$( '#ArticleBody' ).ckeditor();
</script>
|