Sha256: f31d2b28c933f1b1d08a9fe1d9ed03a44896e8ad1fcc97ad7f896eb796b56601
Contents?: true
Size: 1.41 KB
Versions: 3
Compression:
Stored size: 1.41 KB
Contents
<% 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/>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gettext-1.10.0-mswin32 | test/rails/app/views/articles/show.rhtml |
gettext-1.10.0 | test/rails/app/views/articles/show.rhtml |
gettext-1.90.0 | test/rails/app/views/articles/show.html.erb |