<% for column in Article.content_columns %>
<p>
  <b><%= column.human_name %>:</b> <%=h @article.send(column.name) %>
</p>
<% end %>

<%= link_to _('Edit'), :action => 'edit', :id => @article %> |
<%= link_to _('Back'), :action => 'list' %>

<br/>
<h2>test for distance_of_time_in_words</h2>
<% from = Time.mktime(2004, 3, 6, 21, 45, 0) %>
 <%= distance_of_time_in_words(from, from + 0.seconds, true) %><br/>
 <%= distance_of_time_in_words(from, from + 5.seconds, true) %><br/>
 <%= distance_of_time_in_words(from, from + 20.seconds, true) %><br/>
 <%= distance_of_time_in_words(from, from + 40.seconds, true) %><br/>
 <%= distance_of_time_in_words(from, from + 60.seconds, true) %><br/>
 <%= distance_of_time_in_words(from, from + 1.minutes + 30.seconds) %><br/>
 <%= distance_of_time_in_words(from, from + 44.minutes + 30.seconds) %><br/>
 <%= distance_of_time_in_words(from, from + 89.minutes + 30.seconds) %><br/>
 <%= distance_of_time_in_words(from, from + 23.hours + 59.minutes + 30.seconds) %><br/>
 <%= distance_of_time_in_words(from, from + 47.hours + 59.minutes + 30.seconds) %><br/>
 <%= distance_of_time_in_words(from, from + 29.days + 23.hours + 59.minutes + 30.seconds) %><br/>
 <%= distance_of_time_in_words(from, from + 59.days + 23.hours + 59.minutes + 30.seconds) %><br/>
 <%= distance_of_time_in_words(from, from + 1.years - 30.seconds) %><br/>
 <%= distance_of_time_in_words(from, from + 2.years - 30.seconds) %><br/>


