1 <div class="characters form edit">
2 <h2><?php echo __('Edit Character'); ?></h2>
4 <?php echo $form->create('Character');?>
6 <table class="Character">
9 <td colspan="2" class="SystemRow">
10 <table class="System">
15 echo $form->input('system_id', array(
16 'label' => __('System', true),
21 <td class="sort_order">
23 echo $form->input('sort_order', array(
24 'label' => __('Order', true),
25 'class' => 'sortOrder',
32 echo $select->create_status_select($status, 'status', array(
33 'label' => __('Status', true)
41 <td class="image" rowspan="4">
42 <div class="imagefile">
43 <?php if ($this->data['Character']['image_filename']): ?>
46 $html->image($this->data['Character']['image_filename'], array(
47 'alt' => $this->data['Character']['name'],
49 array('action' => 'edit_image', $this->data['Character']['id'])
53 <div class="editImageLink">
55 echo $html->link(__('Edit Image', true), array('action' => 'edit_image', $this->data['Character']['id']));
64 <th class="CharacterName">
67 echo $html->div('required',
68 __(' * required', true)
72 <td class="CharacterName">
74 echo $form->input('name', array(
77 'class' => 'name character',
91 echo $this->data['User']['name'];
97 <?php __('Public Flag'); ?>
101 echo $select->create_publicflag_select($public_flags, 'public_flag', array(
110 <?php __('Notes'); ?>
114 echo $form->input('notes', array(
125 echo $token->create();
127 <?php echo $form->end('Submit');?>
130 <div class="actions">
132 <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>
133 <li><?php echo $html->link(__('List Characters', true), array('action' => 'index'));?></li>
134 <li><?php echo $html->link(__('List Systems', true), array('controller' => 'systems', 'action' => 'index')); ?> </li>