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,4 +1,12 @@
<%= form_tag(posts_path, :method => "get") do %>
<%= text_field_tag("tags", params[:tags]) %>
<%= submit_tag "Go" %>
<% end %>
<!--
- path
- tags
-->
<section id="search-box">
<h1>Search</h1>
<%= form_tag(path, :method => "get") do %>
<%= text_field_tag("tags", tags, :size => 20) %>
<%= submit_tag "Go" %>
<% end %>
</section>

View File

@@ -6,11 +6,10 @@
<li><%= link_to "Hot", explore_post_hot_path %></li>
<% unless CurrentUser.is_anonymous? %>
<li><%= link_to "Favorites", favorites_path %></li>
<li><%= link_to "Subscriptions", tag_subscriptions_path(:user_id => CurrentUser.id) %></li>
<li><%= link_to "Subscriptions", posts_tag_subscription_path(CurrentUser.id) %></li>
<% end %>
<li><%= link_to "Changes", post_versions_path %></li>
<li>Approvals</li>
<li><%= link_to "Moderate", moderator_post_dashboard_path %></li>
<li>Help</li>
<li><%= link_to "Help", wiki_pages_path(:title => "help:posts") %></li>
</menu>
<% end %>