anchor.diff:  
       <div class="collapse navbar-collapse" id="platform-navbar-collapse">
   
  -      <form action="<%= scoped_search_path %>" class="navbar-form navbar-left" style="<% if user_signed_in? %>padding-left: 4px;<% end %>">
  -        <div class="form-group">
  -          <input type="text" name="q" value="<%= params[:q] %>" class="form-control" autocomplete="off"
  -            placeholder="<%= @product ? "Search #{@product.name}…" : "Search…" %>"  />
  -          <input type="hidden" name="type" value="<%= @type %>">
  -        </div>
  -        <!-- <button type="submit" class="btn btn-default">Search</button> -->
  -      </form>
  +      <% if user_signed_in? %>
  +        <form action="<%= scoped_search_path %>" class="navbar-form navbar-left" style="<% if user_signed_in? %>padding-left: 4px;<% end %>">
  +          <div class="form-group">
  +            <input type="text" name="q" value="<%= params[:q] %>" class="form-control" autocomplete="off"
  +              placeholder="<%= @product ? "Search #{@product.name}…" : "Search…" %>"  />
  +            <input type="hidden" name="type" value="<%= @type %>">
  +          </div>
  +          <!-- <button type="submit" class="btn btn-default">Search</button> -->
  +        </form>
  +      <% end %>
   
         <ul class="nav navbar-nav">
   
  
positive.code:       </button>
        <a class="text-brand navbar-brand" href="<%= root_path %>">
          <span class="brand">
            <% if user_signed_in? %>
              <span class="icon icon-logo-filled"></span>
            <% else %>
              <span class="icon icon-logo"></span>
              Assembly
            <% end %>
          </span>
  
negative.code: <div class="navbar <% if Rails.env.development? %>devbar<% end %> navbar-inverse navbar-static-top" data-headroom data-tolerance="5" data-offset="205" data-classes="{"initial":"animated","pinned":"slideDown","unpinned":"slideUp","top":"headroom--top","notTop":"headroom--not-top"}">
    <div class="container-fluid">
  
      <div class="navbar-header">
  