Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14098 anikendra 1
<div class="Subdocuments form">
2
<?php echo $this->Form->create('Subdocument' , array( 'type' => 'post' ));?>
3
	<fieldset>
4
 		<legend><?php __('Add Subdocument');?></legend>
5
	<?php
6
		echo $this->Form->input('title');
7
		echo $this->Form->input('body');
8
		//echo $this->Form->input('subdoc.name');
9
		//echo $this->Form->input('subdoc.age');
10
		echo $this->Form->input('Subdocument.subdoc.0.name');
11
		echo $this->Form->input('Subdocument.subdoc.0.age');
12
		echo $this->Form->input('Subdocument.subdoc.1.name');
13
		echo $this->Form->input('Subdocument.subdoc.1.age');
14
	?>
15
	</fieldset>
16
<?php echo $this->Form->end('Submit');?>
17
</div>
18
<div class="actions">
19
	<ul>
20
		<li><?php echo $this->Html->link(__('List Subdocuments', true), array('action'=>'index'));?></li>
21
	</ul>
22
</div>
23
 
24
	</fieldset>
25
<?php echo $this->Form->end('Submit');?>
26
</div>
27
<div class="actions">
28
	<ul>
29
		<li><?php echo $this->Html->link(__('List Subdocuments', true), array('action'=>'index'));?></li>
30
	</ul>
31
</div>