FAQ
So I've been playing with Spree for a little bit and canot figure out
where a few list items are coming from. If you look at
~/app/views/shared/_nav_bar.html.erb the code is:
<nav id="top-nav-bar" class="columns ten">
   <ul id="nav-bar" class="inline" data-hook>
     <li id="search-bar" data-hook>
       <%= render :partial => 'spree/shared/search' %>
     </li>
   </ul>
</nav>

Nothing too interesting here, but when the page is rendered in a browser
there is additional list item(s) above the search bar:
<nav id="top-nav-bar" class="columns ten">
   <ul id="nav-bar" class="inline" data-hook="">
     <li id="link-to-login"><a href="/login">Login</a></li>
     <li id="search-bar" data-hook="">
       <form accept-charset="UTF-8" action="/products" method="get">
         ...
       </form>
     </li>
   </ul>
</nav>

Where are the list item(s) coming from?

--
Don't miss SpreeConf on May 20-21: http://spreeconf.com
Spree is hiring: http://spreecommerce.com/careers

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedMay 8, '13 at 2:02p
activeMay 8, '13 at 6:36p
posts4
users2
websitespreecommerce.com
irc#RubyOnRails

2 users in discussion

Jarrett Sloan: 3 posts Michael Sevestre: 1 post

People

Translate

site design / logo © 2022 Grokbase