Last active
May 3, 2017 10:46
-
-
Save smzn/61d83e2eecd7da6673f78c09aff2a9d5 to your computer and use it in GitHub Desktop.
upload.ctp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="schools form"> | |
<?php echo $this->Form->create('School',array('url'=>'import','type'=>'file')); ?> | |
<fieldset> | |
<legend><?php echo __('Add School'); ?></legend> | |
<?php | |
echo $this->Form->input('XmlFile',array('label'=>'','type'=>'file')); | |
?> | |
</fieldset> | |
<?php echo $this->Form->end(__('Submit')); ?> | |
</div> | |
<div class="actions"> | |
<h3><?php echo __('Actions'); ?></h3> | |
<ul> | |
<li><?php echo $this->Html->link(__('List Schools'), array('action' => 'index')); ?></li> | |
<li><?php echo $this->Html->link(__('List Regions'), array('controller' => 'regions', 'action' => 'index')); ?> </li> | |
<li><?php echo $this->Html->link(__('New Region'), array('controller' => 'regions', 'action' => 'add')); ?> </li> | |
<li><?php echo $this->Html->link(__('List Categories'), array('controller' => 'categories', 'action' => 'index')); ?> </li> | |
<li><?php echo $this->Html->link(__('New Category'), array('controller' => 'categories', 'action' => 'add')); ?> </li> | |
</ul> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment