diff options
| author | 2014-06-05 20:39:17 +0200 | |
|---|---|---|
| committer | 2014-06-05 20:39:17 +0200 | |
| commit | 192c0a001d5c9f57955402e4298da80dff68c6bd (patch) | |
| tree | 1ca4bc16550cac89cfaee49cf92475e4206c7811 /app/views/configure/categorize.phtml | |
| parent | d1b31b1a61e30e7b20afa644bdf5f641653b4569 (diff) | |
Add some stick buttons
Diffstat (limited to 'app/views/configure/categorize.phtml')
| -rw-r--r-- | app/views/configure/categorize.phtml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/views/configure/categorize.phtml b/app/views/configure/categorize.phtml index c0171d2dc..9bae99b39 100644 --- a/app/views/configure/categorize.phtml +++ b/app/views/configure/categorize.phtml @@ -14,11 +14,13 @@ <?php echo Minz_Translate::t ('category_number', $i); ?> </label> <div class="group-controls"> - <input type="text" id="cat_<?php echo $cat->id (); ?>" name="categories[]" value="<?php echo $cat->name (); ?>" /> + <div class="stick"> + <input type="text" id="cat_<?php echo $cat->id (); ?>" name="categories[]" value="<?php echo $cat->name (); ?>" /> - <?php if ($cat->nbFeed () > 0) { ?> - <button type="submit" class="btn btn-attention confirm" formaction="<?php echo _url ('feed', 'delete', 'id', $cat->id (), 'type', 'category'); ?>"><?php echo Minz_Translate::t ('ask_empty'); ?></button> - <?php } ?> + <?php if ($cat->nbFeed () > 0) { ?> + <button type="submit" class="btn btn-attention confirm" formaction="<?php echo _url ('feed', 'delete', 'id', $cat->id (), 'type', 'category'); ?>"><?php echo Minz_Translate::t ('ask_empty'); ?></button> + <?php } ?> + </div> (<?php echo Minz_Translate::t ('number_feeds', $cat->nbFeed ()); ?>) <?php if ($cat->id () === $this->defaultCategory->id ()) { ?> |
