added ip addr search

This commit is contained in:
albert
2011-07-29 18:04:50 -04:00
parent 5da43c54f0
commit c8afd34d15
55 changed files with 406 additions and 189 deletions

View File

@@ -1,13 +1,7 @@
<div id="c-favorites">
<div id="a-index">
<aside id="sidebar">
<section id="search-box">
<h1>Search Favorites</h1>
<%= form_tag(favorites_path, :method => "get") do %>
<%= text_field_tag("tags", @favorite_set.tag_string, :size => 20) %>
<%= submit_tag "Go" %>
<% end %>
</section>
<%= render :partial => "posts/partials/common/search", :locals => {:path => favorites_path, :tags => @favorite_set.tag_string} %>
<% if CurrentUser.is_privileged? %>
<section id="mode-box">
@@ -25,13 +19,10 @@
<section id="content">
<h1>Posts</h1>
<%= @favorite_set.presenter.post_previews_html(self) %>
<div class="clearfix"></div>
<div class="paginator">
<%= sequential_paginator(@favorite_set.favorites) %>
</div>
<%= sequential_paginator(@favorite_set.favorites) %>
</section>
<% content_for(:page_title) do %>