Customer Enquiries

<% if @contacts.present? %> <% @contacts.each do |contact| %> <% end %>
Name Email Received At Actions
<%= contact.name %> <%= contact.email %> <%= l(contact.created_at, format: :cms) %> <%= link_to(t('link.edit'), edit_admin_contact_path(contact), class: 'btn btn--warning') %> <%= link_to(t('link.remove'), admin_contact_path(contact), data: { confirm: t('notice.contact.destroy_confirmation') }, method: :delete, class: 'btn btn--danger') %>
<% else %>

<%= t('message.none') %>

<% end %>