<h2>My Responses</h2>

<ul>
  <% @responses.each do |resp| -%>
    <li>
      <% if resp.questionnaire.is_open -%>
        <%= link_to resp.questionnaire.title, answer_path(resp.questionnaire) %>
      <% else -%>
        <i><%=h resp.questionnaire.title %> (survey closed)</i>
      <% end -%>
      <span style="font-size: 90%; float: right;">
        <%= resp.created_at.strftime "%a, %b %d, %Y" %>
      </span>
    </li>
  <% end -%>
</ul>

<div class="footer">
  <% link_to responses_questionnaires_path, :class => "bigbutton" do -%>
    View all my responses &raquo;
  <% end -%>
</div>
<h2>My Responses</h2>

<ul>
  <% @responses.each do |resp| -%>
    <li>
      <% if resp.questionnaire.is_open -%>
        <%= link_to resp.questionnaire.title, answer_path(resp.questionnaire) %>
      <% else -%>
        <i><%=h resp.questionnaire.title %> (survey closed)</i>
      <% end -%>
      <span style="font-size: 90%; float: right;">
        <%= time_ago_in_words resp.created_at %> ago
      </span>
    </li>
  <% end -%>
</ul>

<div class="footer">
  <% link_to responses_questionnaires_path, :class => "bigbutton" do -%>
    View all my responses &raquo;
  <% end -%>
</div>
Use relative time ago instead of timestamp
Use relative time ago instead of timestamp
