diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-06-12 14:03:27 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-06-12 14:03:27 +0200 |
commit | 94a42b092b0b365730b681855dd19d1f05f73a42 (patch) | |
tree | edafa05ab22808d429e88dd3af1e358b19b00e65 /generator/after-bake/src/Template/Equipements/add.ctp | |
parent | 696c23fd29b75f02567ccb56a9930a3823688e04 (diff) | |
download | chd_gestion-94a42b092b0b365730b681855dd19d1f05f73a42.zip chd_gestion-94a42b092b0b365730b681855dd19d1f05f73a42.tar.gz chd_gestion-94a42b092b0b365730b681855dd19d1f05f73a42.tar.bz2 |
Equipement/edit : make uplink links sorted by IP + minor refactorings.
Diffstat (limited to 'generator/after-bake/src/Template/Equipements/add.ctp')
-rw-r--r-- | generator/after-bake/src/Template/Equipements/add.ctp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/generator/after-bake/src/Template/Equipements/add.ctp b/generator/after-bake/src/Template/Equipements/add.ctp index c2516cd..388d624 100644 --- a/generator/after-bake/src/Template/Equipements/add.ctp +++ b/generator/after-bake/src/Template/Equipements/add.ctp @@ -2,16 +2,9 @@ <ul class="side-nav"> <li class="heading"><?= __('Actions') ?></li> <li><?= $this->Html->link(__('List Equipements'), ['action' => 'index']) ?></li> - <li><?= $this->Html->link(__('List Equipements'), ['controller' => 'Equipements', 'action' => 'index']) ?></li> - <li><?= $this->Html->link(__('New Equipement'), ['controller' => 'Equipements', 'action' => 'add']) ?></li> - <li><?= $this->Html->link(__('List Services'), ['controller' => 'Services', 'action' => 'index']) ?></li> - <li><?= $this->Html->link(__('New Service'), ['controller' => 'Services', 'action' => 'add']) ?></li> <li><?= $this->Html->link(__('List Equipement Modeles'), ['controller' => 'EquipementModeles', 'action' => 'index']) ?></li> - <li><?= $this->Html->link(__('New Equipement Modele'), ['controller' => 'EquipementModeles', 'action' => 'add']) ?></li> <li><?= $this->Html->link(__('List Ipmgmt'), ['controller' => 'Ipmgmt', 'action' => 'index']) ?></li> - <li><?= $this->Html->link(__('New Ipmgmt'), ['controller' => 'Ipmgmt', 'action' => 'add']) ?></li> <li><?= $this->Html->link(__('List Relais'), ['controller' => 'Relais', 'action' => 'index']) ?></li> - <li><?= $this->Html->link(__('New Relais'), ['controller' => 'Relais', 'action' => 'add']) ?></li> </ul> </nav> <div class="equipements form large-10 medium-9 columns content"> @@ -19,7 +12,7 @@ <fieldset> <legend><?= __('Add Equipement') ?></legend> <?php - //echo $this->Form->input('uplink_id', ['options' => $equipements, 'empty' => true]); + //echo $this->Form->input('uplink_id', ['options' => $uplinks, 'empty' => true]); //echo $this->Form->input('service_id', ['options' => $services, 'empty' => true]); //echo $this->Form->input('mac'); echo $this->Form->input('mac', ['type'=>'textarea', 'rows'=>10, 'maxlength'=>2000]); |