work
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%= form_tag(posts_path, :method => "get") do %>
|
||||
<%= text_field_tag("tags", params[:tags], :size => 15) %>
|
||||
<%= text_field_tag("tags", params[:tags]) %>
|
||||
<%= submit_tag "Go" %>
|
||||
<% end %>
|
||||
|
||||
9
app/views/posts/partials/index/_posts.html.erb
Normal file
9
app/views/posts/partials/index/_posts.html.erb
Normal file
@@ -0,0 +1,9 @@
|
||||
<h1>Posts</h1>
|
||||
|
||||
<%= post_set.presenter.post_previews_html %>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
|
||||
<div class="paginator">
|
||||
<%= post_set.presenter.pagination_html(self) %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user