This commit is contained in:
albert
2011-07-02 21:04:29 -04:00
parent e9bab19d51
commit bd3af50e10
16 changed files with 94 additions and 32 deletions

View File

@@ -1,6 +1,6 @@
<div id="c-notes">
<div id="a-index">
<table width="100%">
<table width="100%" class="striped">
<thead>
<tr>
<th>Post</th>
@@ -22,6 +22,10 @@
<% end %>
</tbody>
</table>
<div class="paginator">
<%= sequential_paginator(@notes) %>
</div>
</div>
</div>

View File

@@ -0,0 +1,11 @@
<div id="c-notes">
<div id="a-index">
<%= @post_set.presenter.post_previews_html(self) %>
<div class="paginator">
<%= numbered_paginator(@posts, false) %>
</div>
</div>
</div>
<%= render "secondary_links" %>

View File

@@ -0,0 +1,11 @@
<div id="c-notes">
<div id="a-search">
<%= simple_form_for @search do |f| %>
<%= f.input :body_matches, :label => "Body" %>
<%= f.input :post_tag_match, :label => "Tags" %>
<%= f.button :submit, "Search" %>
<% end %>
</div>
</div>
<%= render "secondary_links" %>