Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15073 manas 1
<div class="agentRoles form">
2
<?php echo $this->Form->create('AgentRole'); ?>
3
	<fieldset>
4
		<legend><?php echo __('Edit Agent Role'); ?></legend>
5
	<?php
6
		echo $this->Form->input('id');
7
		echo $this->Form->input('agent_id');
8
		echo $this->Form->input('role');
9
	?>
10
	</fieldset>
11
<?php echo $this->Form->end(__('Submit')); ?>
12
</div>
13
<div class="actions">
14
	<h3><?php echo __('Actions'); ?></h3>
15
	<ul>
16
 
17
		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('AgentRole.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('AgentRole.id'))); ?></li>
18
		<li><?php echo $this->Html->link(__('List Agent Roles'), array('action' => 'index')); ?></li>
19
		<li><?php echo $this->Html->link(__('List Agents'), array('controller' => 'agents', 'action' => 'index')); ?> </li>
20
		<li><?php echo $this->Html->link(__('New Agent'), array('controller' => 'agents', 'action' => 'add')); ?> </li>
21
	</ul>
22
</div>