PHP Classes
elePHPant
Icontem

File: View/Cities/admin_edit.ctp

Recommend this page to a friend!
  Classes of Andra?  >  pingvincek  >  View/Cities/admin_edit.ctp  >  Download  
File: View/Cities/admin_edit.ctp
Role: Example script
Content type: text/plain
Description: Example script
Class: pingvincek
Manage a site for organizing dates between people
Author: By
Last change:
Date: 2 months ago
Size: 614 bytes
 

Contents

Class file image Download
<div class="cities form">
<?php echo $this->Form->create('City');?>
<fieldset>
         <legend><?php echo __('Edit City');?></legend>
    <?php
       
echo $this->Form->input('geonameid');
        echo
$this->Form->input('name');
   
?>
</fieldset>
<?php echo $this->Form->end('Submit');?>
</div>
<div class="actions">
    <ul>
        <li><?php echo $this->Html->link(__('Delete'), array('action'=>'delete', $this->Form->value('City.id')), null, sprintf(__('Are you sure you want to delete # %s?'), $this->Form->value('City.id'))); ?></li>
        <li><?php echo $this->Html->link(__('List Cities'), array('action'=>'index'));?></li>
    </ul>
</div>