diff options
| author | 2012-10-22 18:00:13 +0200 | |
|---|---|---|
| committer | 2012-10-22 18:00:13 +0200 | |
| commit | 0426541acbeb44d240e6dbf7a93f3a104bea61b4 (patch) | |
| tree | 209a425c5afee9e627d11023b262326812be1fbc /app/views/configure/categorize.phtml | |
| parent | fb57be5a5af3a2fb46b2dbf2b503ffe78eb5cf49 (diff) | |
Grosse màj : ajout de la configuration + ajouts divers fonctionnalités
Diffstat (limited to 'app/views/configure/categorize.phtml')
| -rw-r--r-- | app/views/configure/categorize.phtml | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/app/views/configure/categorize.phtml b/app/views/configure/categorize.phtml index 126f6b48a..093ec1dcf 100644 --- a/app/views/configure/categorize.phtml +++ b/app/views/configure/categorize.phtml @@ -1,3 +1,14 @@ -<div class="post"> - Fonctionnalité non implémentée (pour le moment) -</div> +<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 } ?> + + <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> |
