text adjustments

This commit is contained in:
albert
2012-11-19 14:37:33 -05:00
parent 37cfed7d51
commit 4436a8c343
3 changed files with 17 additions and 15 deletions

View File

@@ -4,15 +4,17 @@
<%= hidden_field_tag "post_id", @post.id %>
<%= text_field_tag "pool_name", "", :size => 20 %>
<%= submit_tag "Select" %>
<% end %>
<% end %>
<div>
<h1>Recent Pools</h1>
<ul id="recent-pools">
<% recent_updated_pools.each do |pool| %>
<li><%= pool.name %></li>
<% end %>
</ul>
</div>
<% if recent_updated_pools.any? %>
<div>
<h1>Recent Pools</h1>
<ul id="recent-pools">
<% recent_updated_pools.each do |pool| %>
<li><%= pool.name %></li>
<% end %>
</ul>
</div>
<% end %>
</div>
</div>