Skip to content

Instantly share code, notes, and snippets.

@procload
Created October 12, 2011 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save procload/1282535 to your computer and use it in GitHub Desktop.
Save procload/1282535 to your computer and use it in GitHub Desktop.
<section class="messageFooter">
<% if touchpoint.updated_at != touchpoint.created_at %>
Updated by <%= touchpoint.updated_by %> at <time datetime="<%= touchpoint.updated_at.to_formatted_s(:dashy_format_verbose) %>"><%= touchpoint.updated_at.to_formatted_s(:human_readable_verbose) %></time>
<% else %>
Created by <%= touchpoint.created_by %> at <time datetime="<%= touchpoint.created_at.to_formatted_s(:dashy_format_verbose) %>"><%= touchpoint.created_at.to_formatted_s(:human_readable_verbose) %></time>
<% end %>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment