<%= t(".diary_entries") %>
<%= link_to t(".new"), new_diary_entry_path %>
<% if @diary_entries.empty? %>
<%= t(".empty") %>
<% else %>
<% @diary_entries.each do |diary_entry| %>
- <%= render diary_entry %>
<% end %>
<%= paginate @diary_entries %>
<% end %>