Skip to content

Instantly share code, notes, and snippets.

@sgharms
Created January 12, 2012 16:56
Show Gist options
  • Save sgharms/1601630 to your computer and use it in GitHub Desktop.
Save sgharms/1601630 to your computer and use it in GitHub Desktop.
<a id="previous" href="#"></a>
<% for task in @tasks: %>
<span class="date <%= task.status() %>" data-date="<%= task.get 'completed_on' %>">
<p class="time"><%= task.get 'time' %></p>
<p class="name"><%= Date.parse(task.get('completed_on')).toString 'ddd' %></p>
<p class="range">
<a href="#"><%= Date.parse(task.get('completed_on')).toString 'MM/dd' %></a>
</p>
</span>
<% end %>
<a id="next" href="#"></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment