Soc/app/views/diary_entries/_diary_entry.html.erb

5 lines
200 B
Plaintext
Raw Permalink Normal View History

<div id="diary_entry_<%= diary_entry.id %>" class="diary_entry">
<h2><%= link_to diary_entry.date, diary_entry %></h2>
<%= render partial: "levels", locals: { diary_entry: diary_entry } %>
</div>