<%= render 'admin_panel/sidebar_nav' %>
<%= bootstrap_flash %> <% @contact_messages.each do |msg| %>

<%= link_to msg.title, contact_message_path(msg) %> <%= ('' + (t "admin_panel.new") + '').html_safe if msg.unread %>

<%= t "blog.by" %> <% if msg.user != nil %> <%= msg.user.full_name %> <% else %> <%= msg.email %> <% end %> , <%= time_ago_in_words(msg.created_at) %> <%= t "blog.ago" %>

<%= msg.content %>

<% end %>