Sha256: 1b814cc94ed47187c5e5b6e6d2f9ed982d72b00bb15c388622cfe494441b8877

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

<div class='topnav'>
  <h1 class='pagetitle'> Listing Managed Emails</h1>
</div>

<%= render "search_form", :locals => { :search => @search, :search_enabled => @search_enabled }%>
<div class='content'>
  <%= render "pagination", :locals => { :records => @managed_emails, :pagination_enabled => @pagination_enabled }%>
  <table class='tableview'>
    <tr>
      <th>To</th>
      <th>Subject</th>
      <th>Date Sent</th>
      <th>Sent From</th>
      <th>Show</th>
    </tr>
    <% if @managed_emails.length > 0%>
      <% @managed_emails.each do |managed_email| %>
        <tr>
          <td><%= managed_email.to%></td>
          <td><%= managed_email.subject%></td>
          <td><%= managed_email.date_sent%></td>
          <td><%= managed_email.caller%></td>
          <td><%= link_to "Show", email_manager_managed_email_path(managed_email)%></td>
      <% end %>
    <% else %>
      <tr>
        <td colspan = '5'>
          There are no Managed Emails that match your query
        </td>
      </tr>
    <% end %>
  </table>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
email_manager-1.0.0 app/views/email_manager/managed_emails/index.html.erb
email_manager-0.0.6 app/views/email_manager/managed_emails/index.html.erb