Sha256: 2508e298dfb3f5d121c0692647403ee6d0eebf26fefb7213e507b9ad1f5e1107
Contents?: true
Size: 782 Bytes
Versions: 60
Compression:
Stored size: 782 Bytes
Contents
<h1>Inbox - Spam</h1> <div class="constrain clearfix" style="padding:0 40px 0 10px;"> <div class="inbox-btns constrain"> <a href="/admin/inbox" class="caboose-btn">View Inbox</a> </div> <table class="inbox-table" cellpadding="0" cellspacing="0"> <tr> <th>From</th> <th>Subject</th> <th>Message</th> <th>Date</th> </tr> <% @contacts.each do |c| %> <tr data-id="<%= c.id %>"> <td><%= c.name %></td> <td><%= c.subject %></td> <td><%= c.message ? c.message.truncate(60) : '' %></td> <td><%= c.date_submitted.strftime('%-m/%-d/%Y') %></td> </tr> <% end %> </table> </div> <% content_for :caboose_js do %> <script> $(".inbox-table tr").click(function() { window.location = "/admin/inbox/" + $(this).data("id"); }); </script> <% end %>
Version data entries
60 entries across 60 versions & 1 rubygems