Show
Ignore:
Timestamp:
05/21/08 15:27:00 (8 months ago)
Author:
aarkerio
Message:

New Try

Files:
1 modified

Legend:

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

    r313 r541  
    22  echo $html->div(null, $html->addCrumb('Control Tools', '/admin/entries/start'). $html->getCrumbs(' / '));  
    33  echo $html->div('title_section', 'Add new Glossary Category'); 
    4 ?> 
    54 
    6 <div class="spaced"> 
    75 
    8 <?php echo $form->create('Catglossary', array('action'=>'admin_add')); ?> 
     6<?php echo $form->create('Catglossary'); ?> 
    97<fieldset> 
    108  <legend>New Category</legend> 
    119  <?php  
    1210    echo $form->input('Catglossary.title', array("size" => 30, "maxlength" => 90, "value"=>"Example: Brazilian history")); 
    13     echo $form->error('Catglossary.title', 'A Glossary title is required.'); 
    14       
    15     echo $form->label('Catglossary.description', 'Description:' ); 
     11      
     12    echo $form->label('Catglossary.description', 'Description:'); 
    1613    echo $form->textarea('Catglossary.description', array("cols" => 40, "row" => 20)); 
    17     echo $form->error('Catglossary.description', 'A category description is required.'); 
    1814  ?> 
    1915  <br /><br /> 
     
    2319  <br /><br /> 
    2420  <div style="clear:both"></div> 
    25   <br /></fieldset> 
     21   
    2622  <?php echo $form->end('Save'); ?> 
    27 </div> 
     23</fieldset>