<div id="jankity-search-bar">
  <%= form_tag stories_path, :method => :get do %>
    <p>
      <%= text_field_tag :search, params[:search] %>
      <%= submit_tag "Search", :name => nil %>
    </p>
  <% end %>
</div>

<div id="search-results">
  <h1> SOME SHIT YOU'VE SEARCHED FOR: </h1>
    <% @searched_stories.each do |story|%>
      <p><%= story.title %></p>
    <% end %>
</div>

<ol>
  <% @stories.each do |story| %>
    <li><%= link_to story.title, story_path(story) %></li>
  <% end %>
</ol>




<div id="search-results">
  <h1> SOME SHIT YOU'VE SEARCHED FOR: </h1>
    <% @searched_stories.each do |story|%>
      <p><%= story.title %></p>
    <% end %>
</div>

<ol>
  <% @stories.each do |story| %>
    <li><%= link_to story.title, story_path(story) %></li>
  <% end %>
</ol>


Remove search bar from stories index
Remove search bar from stories index
