Sha256: 98ba56792c48ee50fdde081777f06517d5b1b6415e83eab388e89f604106051a
Contents?: true
Size: 1012 Bytes
Versions: 9
Compression:
Stored size: 1012 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 "<span class=\"glyphicon glyphicon-eye-open\"></span> #{t('view')}".html_safe, contact, class: 'btn btn-xs btn-default' %></td> </tr> <% end %> </tbody> </table> <%= will_paginate @contacts %> <%= render 'shared/admin_sidebar' %>
Version data entries
9 entries across 9 versions & 1 rubygems