pictcode / app / View / Programs / edit.ctp @ 48ae03cf
履歴 | 表示 | アノテート | ダウンロード (1.118 KB)
1 | b3a58ce1 | hasse | <div class="programs form"> |
---|---|---|---|
2 | <?php echo $this->Form->create('Program'); ?> |
||
3 | <fieldset> |
||
4 | <legend><?php echo __('Edit Program'); ?></legend> |
||
5 | <?php |
||
6 | echo $this->Form->input('id'); |
||
7 | echo $this->Form->input('user_id'); |
||
8 | echo $this->Form->input('pict_code'); |
||
9 | echo $this->Form->input('title'); |
||
10 | echo $this->Form->input('description'); |
||
11 | echo $this->Form->input('data'); |
||
12 | echo $this->Form->input('status'); |
||
13 | echo $this->Form->input('view_count'); |
||
14 | ?> |
||
15 | </fieldset> |
||
16 | <?php echo $this->Form->end(__('Submit')); ?> |
||
17 | </div> |
||
18 | <div class="actions"> |
||
19 | <h3><?php echo __('Actions'); ?></h3> |
||
20 | <ul> |
||
21 | |||
22 | <li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Program.id')), array('confirm' => __('Are you sure you want to delete # %s?', $this->Form->value('Program.id')))); ?></li> |
||
23 | <li><?php echo $this->Html->link(__('List Programs'), array('action' => 'index')); ?></li> |
||
24 | <li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li> |
||
25 | <li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li> |
||
26 | </ul> |
||
27 | </div> |