Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15403 manish.sha 1
<div class="devices form">
2
<?php echo $this->Form->create('Device'); ?>
3
	<fieldset>
4
		<legend><?php echo __('Edit Device'); ?></legend>
5
	<?php
6
		echo $this->Form->input('id');
7
		echo $this->Form->input('user_id');
8
		echo $this->Form->input('versioncode');
9
		echo $this->Form->input('versionname');
10
		echo $this->Form->input('osversion');
11
		echo $this->Form->input('imeinumber');
12
		echo $this->Form->input('manufacturer');
13
		echo $this->Form->input('model');
14
		echo $this->Form->input('brand');
15
	?>
16
	</fieldset>
17
<?php echo $this->Form->end(__('Submit')); ?>
18
</div>
19
<div class="actions">
20
	<h3><?php echo __('Actions'); ?></h3>
21
	<ul>
22
 
23
		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Device.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Device.id'))); ?></li>
24
		<li><?php echo $this->Html->link(__('List Devices'), array('action' => 'index')); ?></li>
25
		<li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
26
		<li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
27
	</ul>
28
</div>