1 <div class="characters form">
2 <?php echo $form->create('Character');?>
4 <legend><?php __('Add Character');?></legend>
6 echo $form->input('name', array(
8 'label' => __('Name', true),
11 __(' * required', true),
12 array('class' => 'required')
16 echo $form->input('system_id', array(
17 'label' => __('System', true),
20 echo $form->input('sort_order', array(
21 'label' => __('Sort Order', true) )
23 echo $select->create_status_select($status, 'status', array(
24 'label' => __('Status', true)
27 echo $select->create_publicflag_select($public_flags, 'public_flag', array(
28 'label' => __('Public Flag', true)
31 echo $form->input('notes', array(
32 'label' => __('Notes', true)
36 echo $token->create();
39 <?php echo $form->end('Submit');?>
43 <li><?php echo $html->link(__('Delete', true), array('action' => 'delete', $form->value('Character.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('Character.id'))); ?></li>
44 <li><?php echo $html->link(__('List Characters', true), array('action' => 'index'));?></li>
45 <li><?php echo $html->link(__('List Systems', true), array('controller' => 'systems', 'action' => 'index')); ?> </li>