| 14098 |
anikendra |
1 |
<div class="Subdocuments form">
|
|
|
2 |
<?php echo $this->Form->create('Subdocument' , array( 'type' => 'post' ));?>
|
|
|
3 |
<fieldset>
|
|
|
4 |
<legend><?php __('Edit Subdocument');?></legend>
|
|
|
5 |
<?php
|
|
|
6 |
echo $this->Form->hidden('_id');
|
|
|
7 |
echo $this->Form->input('title');
|
|
|
8 |
echo $this->Form->input('body');
|
|
|
9 |
echo $this->Form->input('Subdocument.subdoc.0.name');
|
|
|
10 |
echo $this->Form->input('Subdocument.subdoc.0.age');
|
|
|
11 |
echo $this->Form->input('Subdocument.subdoc.1.name');
|
|
|
12 |
echo $this->Form->input('Subdocument.subdoc.1.age');
|
|
|
13 |
?>
|
|
|
14 |
</fieldset>
|
|
|
15 |
<?php echo $this->Form->end('Submit');?>
|
|
|
16 |
</div>
|
|
|
17 |
<div class="actions">
|
|
|
18 |
<ul>
|
|
|
19 |
<li><?php echo $this->Html->link(__('List Subdocuments', true), array('action'=>'index'));?></li>
|
|
|
20 |
</ul>
|
|
|
21 |
</div>
|