Newer
Older
dmpopidor / app / views / plans / _view_comment.html.erb
@Marta Ribeiro Marta Ribeiro on 3 Jun 2016 371 bytes DMPonline4 - RAILS 4.0 (#4)
<!--show comment. comment is passed as an argument-->
<% user = User.find(comment.user_id) %>
<div class="div_clear">
</div>
<div>
    <ul>
        <li><p class= "accordion_label"><%= t("helpers.comments.commented_by")%></p></li>
        <li><%= user.name%> (<%= l comment.updated_at, format: :custom %>)</li>
        <li><%= raw comment.text %></li>
  
    </ul>
</div>