module Panda.View.Widget.SearchBar where
  
import Panda.Helper.Env hiding (header)
import qualified Panda.Config.Global as G
import Prelude hiding ((/))
import Panda.Type.Extension
import Panda.Helper.StateHelper

search_bar = only_for Search $ div_id "search" << form ! [action (G.root / "search"), method "get"] << thediv << textfield "s"