20 lines
882 B
PHP
Executable file
20 lines
882 B
PHP
Executable file
<div class="customerCategories form">
|
|
<?php echo $form->create('CustomerCategory');?>
|
|
<fieldset>
|
|
<legend><?php __('Edit CustomerCategory');?></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('CustomerCategory.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('CustomerCategory.id'))); ?></li>
|
|
<li><?php echo $html->link(__('List CustomerCategories', true), array('action'=>'index'));?></li>
|
|
<li><?php echo $html->link(__('List Customers', true), array('controller'=> 'customers', 'action'=>'index')); ?> </li>
|
|
<li><?php echo $html->link(__('New Customer', true), array('controller'=> 'customers', 'action'=>'add')); ?> </li>
|
|
</ul>
|
|
</div>
|