Sha256: 09eb43a33f60618698d3d7c0ea7041f4ad118fbad2918bfdf447f2d9bcb75740
Contents?: true
Size: 908 Bytes
Versions: 31
Compression:
Stored size: 908 Bytes
Contents
<h1><%= t 'activerecord.models.contacts' %></h1> <%= render 'tab_admin_menu' %> <table class='table table-striped'> <thead> <tr> <th><%= t 'activerecord.attributes.contacts.sender_name' %></th> <th><%= t 'activerecord.attributes.contacts.sender_email' %></th> <th><%= t 'activerecord.attributes.contacts.body' %></th> <th><%= t 'contacts.sent' %></th> <th><%= t('actions') %></th> </tr> </thead> <tbody> <% @contacts.each do |contact| %> <tr> <td><%= contact.sender_name %></td> <td><%= link_to contact.sender_email, "mailto:#{contact.sender_email}" %></td> <td><%= truncate contact.body, length: 85, separator: ' ...' %></td> <td><%= l contact.created_at, :format => :tkh_default %></td> <td><%= link_to t('view'), contact %></td> </tr> <% end %> </tbody> </table> <%= will_paginate @contacts %> <%= render 'shared/admin_sidebar' %>
Version data entries
31 entries across 31 versions & 1 rubygems