Add clear button and change label on Submit

This commit is contained in:
vvuksan 2010-11-30 09:07:52 -05:00
parent 3b1d6a9cc1
commit 08ddfdccb1

View file

@ -5,4 +5,5 @@
%label{ :for => "q" } Query: %label{ :for => "q" } Query:
%input.query{ :id => "query", :type => "text", :name => "q", :value => params[:q], %input.query{ :id => "query", :type => "text", :name => "q", :value => params[:q],
:size => 60 } :size => 60 }
%input{ :id => "searchbutton", :type => "submit" } %input{ :id => "searchbutton", :type => "submit", :value => "Search" }
%input{ :id => "clearbutton", :type => "reset", :value => "Clear" }