fixed search_bar placeholder
This commit is contained in:
parent
81b0e3c38f
commit
177a409508
|
@ -1,5 +1,5 @@
|
||||||
<header id="orbit-bar" class="navbar">
|
<header id="orbit-bar" class="navbar">
|
||||||
<div class="navbar-inner">
|
<div class="navbar-inner">
|
||||||
<div class="container clear">
|
<div class="container clear">
|
||||||
<div class="dropdown orbit-logo pull-left">
|
<div class="dropdown orbit-logo pull-left">
|
||||||
<% if !current_user.nil? %>
|
<% if !current_user.nil? %>
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
<input type="hidden" name="cof" id="cof" value="AH:center;AWFID:03de271f1940eea3;" />
|
<input type="hidden" name="cof" id="cof" value="AH:center;AWFID:03de271f1940eea3;" />
|
||||||
<input type='hidden' name='domains' value='<%= @site.search["domains"] rescue ''%>'>
|
<input type='hidden' name='domains' value='<%= @site.search["domains"] rescue ''%>'>
|
||||||
<input type='hidden' name='sitesearch' value='<%= @site.search["sitesearch"] rescue '' %>'>
|
<input type='hidden' name='sitesearch' value='<%= @site.search["sitesearch"] rescue '' %>'>
|
||||||
<%= text_field_tag 'q','',{:class => "search-query span3",:placeholder=> t(:search_nccu) ,:disabled=> ((@site.search["sitesearch"] || @site.search["domains"] ).blank? rescue true)}%>
|
<%= text_field_tag 'q','',{:class => "search-query span3",:placeholder=> t(:search_google) ,:disabled=> ((@site.search["sitesearch"] || @site.search["domains"] ).blank? rescue true)}%>
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
<% if user_signed_in? %>
|
<% if user_signed_in? %>
|
||||||
|
|
Loading…
Reference in New Issue