Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="tickets form">
- <?php echo $this->Form->create('Ticket', array('type' => 'file')); ?>
- <fieldset>
- <legend><?php echo __('Add Ticket'); ?></legend>
- <?php
- echo $this->Form->input('Ticket.title');
- echo $this->Form->input('TicketResponse.0.content');
- echo $this->Form->input('TicketResponse.0.TicketAttachment.0.filename', array('type' => 'file'));
- echo $this->Form->input('TicketResponse.0.TicketAttachment.0.location', array('type' => 'hidden'));
- ?>
- </fieldset>
- <?php echo $this->Form->end(__('Submit')); ?>
- </div>
- <div class="actions">
- <h3><?php echo __('Actions'); ?></h3>
- <ul>
- <li><?php echo $this->Html->link(__('List Tickets'), array('action' => 'index')); ?></li>
- <li><?php echo $this->Html->link(__('List Ticket Responses'), array('controller' => 'ticket_responses', 'action' => 'index')); ?> </li>
- <li><?php echo $this->Html->link(__('New Ticket Response'), array('controller' => 'ticket_responses', 'action' => 'add')); ?> </li>
- </ul>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment