hiding tags when none exist

git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@39 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7
master
andrew 2007-11-17 09:16:30 +00:00
parent f4eb783a8a
commit 748c030670
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<%= @page.html %>
</div>
<ul class="meta">
<li>Tags: <%= @page.tag_names.join(' ') -%></li>
<% if @page.tags.size > 0 -%><li>Tags: <%= @page.tag_names.join(' ') -%></li><% end -%>
<li>Version: <%= @page.version -%></li>
<% @page.owner.page_attributes.each do |x| -%>
<li><%= x -%></li>