summaryrefslogtreecommitdiff
path: root/app/layout/header.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-16 16:08:19 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-16 16:08:19 +0100
commitdd628faaded8e6feb990c2eb76cc15460e7a631f (patch)
tree49792004664479f5219260127e95582c22e25063 /app/layout/header.phtml
parent49e1a798ba8f240add11f7c287696e9e47dfc467 (diff)
Amélioration design formulaires (boutons collés)
Diffstat (limited to 'app/layout/header.phtml')
-rw-r--r--app/layout/header.phtml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/layout/header.phtml b/app/layout/header.phtml
index bf6429780..36c53654c 100644
--- a/app/layout/header.phtml
+++ b/app/layout/header.phtml
@@ -15,8 +15,11 @@
<div class="item search">
<form action="<?php echo _url ('index', 'index'); ?>" method="get">
- <input type="text" name="search" id="search" placeholder="Rechercher (non fonctionnel)" />
- <button class="btn"><i class="icon search"></i></button>
+ <div class="stick">
+ <?php $s = Request::param ('search', ''); ?>
+ <input type="text" name="search" id="search" value="<?php echo $s; ?>" placeholder="Rechercher (non fonctionnel)" />
+ <button class="btn" type="submit"><i class="icon search"></i></button>
+ </div>
</form>
</div>