20 lines
872 B
PHP
20 lines
872 B
PHP
<div class="contactCategories form">
|
|
<?php echo $form->create('ContactCategory');?>
|
|
<fieldset>
|
|
<legend><?php __('Edit ContactCategory');?></legend>
|
|
<?php
|
|
echo $form->input('id');
|
|
echo $form->input('name');
|
|
?>
|
|
</fieldset>
|
|
<?php echo $form->end('Submit');?>
|
|
</div>
|
|
<div class="actions">
|
|
<ul>
|
|
<li><?php echo $html->link(__('Delete', true), array('action'=>'delete', $form->value('ContactCategory.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('ContactCategory.id'))); ?></li>
|
|
<li><?php echo $html->link(__('List ContactCategories', true), array('action'=>'index'));?></li>
|
|
<li><?php echo $html->link(__('List Contacts', true), array('controller'=> 'contacts', 'action'=>'index')); ?> </li>
|
|
<li><?php echo $html->link(__('New Contact', true), array('controller'=> 'contacts', 'action'=>'add')); ?> </li>
|
|
</ul>
|
|
</div>
|