Commit d969ca5999dc3c87205757ac290efeb2e34186b2
1 parent
cb50c8ce
Exists in
master
and in
1 other branch
cleanup template default.ctp
Showing
2 changed files
with
22 additions
and
6 deletions
Show diff stats
src/Template/Layout/default.ctp
... | ... | @@ -121,9 +121,17 @@ $this->append('script', $this->Html->script(['script', 'DatepickerConfig', 'onTa |
121 | 121 | |
122 | 122 | <!-- Contenu principal de chaque page web --> |
123 | 123 | <div id="content"> |
124 | - <?=$this->Flash->render()?> | |
125 | - <?=$this->Flash->render('auth')?> | |
126 | - <?=$this->fetch('content')?> | |
124 | + | |
125 | + <!-- Message Flash éventuel --> | |
126 | + <?= $this->Flash->render() ?> | |
127 | + <?= $this->Flash->render('auth') ?> | |
128 | + | |
129 | + <!-- | |
130 | + Contenu complet de la page web | |
131 | + (par exemple src/Template/Materiels/index.ctp pour la liste des matos) | |
132 | + --> | |
133 | + <?= $this->fetch('content') ?> | |
134 | + | |
127 | 135 | </div> <!-- content --> |
128 | 136 | |
129 | 137 | ... | ... |
src/Template/Layout/default_avec_bootstrap.ctp
... | ... | @@ -121,9 +121,17 @@ $this->append('script', $this->Html->script(['script', 'DatepickerConfig', 'onTa |
121 | 121 | |
122 | 122 | <!-- Contenu principal de chaque page web --> |
123 | 123 | <div id="content"> |
124 | - <?=$this->Flash->render()?> | |
125 | - <?=$this->Flash->render('auth')?> | |
126 | - <?=$this->fetch('content')?> | |
124 | + | |
125 | + <!-- Message Flash éventuel --> | |
126 | + <?= $this->Flash->render() ?> | |
127 | + <?= $this->Flash->render('auth') ?> | |
128 | + | |
129 | + <!-- | |
130 | + Contenu complet de la page web | |
131 | + (par exemple src/Template/Materiels/index.ctp pour la liste des matos) | |
132 | + --> | |
133 | + <?= $this->fetch('content') ?> | |
134 | + | |
127 | 135 | </div> <!-- content --> |
128 | 136 | |
129 | 137 | ... | ... |