admin_add.ctp 748 B

12345678910111213141516171819202122232425262728
  1. <div class="page form">
  2. <h2><?php echo __('Add %s', __('Qurl')); ?></h2>
  3. <?php echo $this->Form->create('Qurl');?>
  4. <fieldset>
  5. <legend><?php echo __('Add %s', __('Qurl')); ?></legend>
  6. <?php
  7. echo $this->Form->input('url');
  8. echo $this->Form->input('title');
  9. echo $this->Form->input('note', ['type' => 'textarea']);
  10. echo $this->Form->input('active');
  11. ?>
  12. </fieldset>
  13. <fieldset>
  14. <legend><?php echo __('Internal details')?></legend>
  15. <?php
  16. echo $this->Form->input('comment', ['type' => 'textarea']);
  17. ?>
  18. </fieldset>
  19. <?php echo $this->Form->submit(__('Submit')); echo $this->Form->end();?>
  20. </div>
  21. <div class="actions">
  22. <ul>
  23. <li><?php echo $this->Html->link(__('List %s', __('Qurls')), ['action' => 'index']);?></li>
  24. </ul>
  25. </div>