From 599aaa9f1eb6fad11b0305b91ad057b0bcdfaa29 Mon Sep 17 00:00:00 2001 From: raylu Date: Mon, 4 Jul 2011 18:14:05 -0700 Subject: use placeholder attribute for Search --- views/layouts/default.html.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/views/layouts/default.html.php b/views/layouts/default.html.php index af60100..7a32401 100644 --- a/views/layouts/default.html.php +++ b/views/layouts/default.html.php @@ -9,18 +9,8 @@ use \lithium\security\Auth; html->style(array('style', 'base')) ?> html->style('themes/light') ?> html->style('prettyPhoto') ?> + html->style('http://fonts.googleapis.com/css?family=Cantarell:regular,bold&v1') ?> styles(); ?> - - -
form->create(null, array('url' => '/search/index/anime', 'class' => 'search', 'method' => 'get')); ?> - form->text('search', array('value' => 'Search...', 'onFocus' => 'clearDefault(this)', 'style' => 'width: 200px')); ?> + form->text('search', array('placeholder' => 'Search...')); ?> form->end(); ?> -- cgit v1.2.3