diff options
| author | 2012-10-30 22:01:04 +0100 | |
|---|---|---|
| committer | 2012-10-30 22:01:04 +0100 | |
| commit | 59d80a74282599afeda4f225bd1adf9f23c505de (patch) | |
| tree | 55ec081958c31615ffa3ecd48fd28c8241c4045f /app/views/configure/categorize.phtml | |
| parent | ce36a3fbd2f4d10972dd4d15a05ed7a596c06485 (diff) | |
Fix issue #5 : menu tout le temps visible
Diffstat (limited to 'app/views/configure/categorize.phtml')
| -rw-r--r-- | app/views/configure/categorize.phtml | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/app/views/configure/categorize.phtml b/app/views/configure/categorize.phtml index 093ec1dcf..9f03c187f 100644 --- a/app/views/configure/categorize.phtml +++ b/app/views/configure/categorize.phtml @@ -1,14 +1,18 @@ -<form method="post" action=""> - <h1>Gérer les catégories</h1> +<div class="table"> + <?php $this->partial ('configure_aside'); ?> + + <form method="post" action=""> + <h1>Gérer les catégories</h1> - <?php $i = 0; foreach ($this->categories as $cat) { $i++; ?> - <label for="cat_<?php echo $cat->id (); ?>">Catégorie n°<?php echo $i; ?></label> - <input type="text" id="cat_<?php echo $cat->id (); ?>" name="categories[]" value="<?php echo $cat->name (); ?>" /> - <input type="hidden" name="ids[]" value="<?php echo $cat->id (); ?>" /> - <?php } ?> + <?php $i = 0; foreach ($this->categories as $cat) { $i++; ?> + <label for="cat_<?php echo $cat->id (); ?>">Catégorie n°<?php echo $i; ?></label> + <input type="text" id="cat_<?php echo $cat->id (); ?>" name="categories[]" value="<?php echo $cat->name (); ?>" /> + <input type="hidden" name="ids[]" value="<?php echo $cat->id (); ?>" /> + <?php } ?> - <label for="new_category">Ajouter une catégorie</label> - <input type="text" id="new_category" name="new_category" placeholder="Nouvelle catégorie" /> + <label for="new_category">Ajouter une catégorie</label> + <input type="text" id="new_category" name="new_category" placeholder="Nouvelle catégorie" /> - <input type="submit" value="Valider" /> -</form> + <input type="submit" value="Valider" /> + </form> +</div> |
