Show
Ignore:
Timestamp:
03/29/08 18:26:25 (9 months ago)
Author:
aarkerio
Message:

Entries

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/entries/admin_add.ctp

    r342 r356  
    55    echo $html->addCrumb('Entries', '/admin/entries/listing');  
    66    echo $html->getCrumbs(' / '); 
    7     echo $form->create('Entry', array('action'=>'admin_add'));  
     7    echo $form->create('Entry');  
    88?> 
    99<fieldset> 
     
    1717 ?> 
    1818  </td> 
    19    
    2019  <td> 
    2120   <?php  
     
    3433     echo $form->textarea('Entry.body', array("cols"=>80, "rows"=>30));  
    3534     echo $fck->load('EntryBody', 'Default');  
    36      echo $form->error('Entry.body', 'Body is required.');  
    3735   ?> 
    3836  </td></tr> 
     
    4240 <?php  
    4341     echo $form->label('Entry.status', 'Published:' ); 
    44      echo $form->checkbox('Entry.status', null, array("value"=>1));  
     42     echo $form->checkbox('Entry.status', array("value"=>1));  
    4543  ?> 
    4644  </td><td> 
     
    5351     <?php  
    5452       echo $form->label( 'Entry.end', 'Finish edition:' ); 
    55        echo $form->checkbox('Entry.end', null, array("value" => 1)); 
     53       echo $form->checkbox('Entry.end', array("value" => 1)); 
    5654    ?> 
    5755   </td>