[#692] Cleanup layout structure from rebase
This commit is contained in:
parent
971277b507
commit
b312bf387a
|
@ -40,7 +40,7 @@
|
|||
<%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
|
||||
<%= text_field_tag 'q', @question, :size => 20, :class => 'search_field', :placeholder => l(:search_input_placeholder), :accesskey => accesskey(:quick_search) %>
|
||||
<% end %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<% if User.current.logged? || !Setting.login_required? %>
|
||||
<ul id="account-nav">
|
||||
|
@ -70,13 +70,6 @@
|
|||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<label for='q'>
|
||||
<%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search), :class => 'search' %>
|
||||
</label>
|
||||
<% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get, :id => 'nav-search' ) do %>
|
||||
<%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
|
||||
<%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
|
||||
<% end %>
|
||||
<%= render_menu_node(help_menu_item) %>
|
||||
<% unless User.current.logged? %>
|
||||
<li>
|
||||
|
|
Loading…
Reference in New Issue