Sha256: ee9f3c3fca2531b08ab73e4577b3f58ddbd5ee8ace4ad350a874bebb9c74b05a

Contents?: true

Size: 991 Bytes

Versions: 1

Compression:

Stored size: 991 Bytes

Contents

<div id="dashboard">
  <table class="messages" cellspacing="0">
    <thead>
      <tr>
        <th>ID</th>
        <th>UUID</th>
        <th>Mailer</th>
        <th>Action</th>
        <th>Send to</th>
        <th>Params</th>
        <th></th>
      </tr>
    </thead>
    <tbody>
      <% @messages.each do |message| %>
        <tr>
          <td><%= message.id %></td>
          <td><%= message.uuid %></td>
          <td><%= message.mailer %></td>
          <td><%= message.action %></td>
          <td>
            <% message.send_to.each do |receiver| %>
              <p><%= receiver %></p>
            <% end %>
          </td>
          <td><%= message.params %></td>
          <td class="actions">
            <%= button_to 'Resend', ui_message_path(message.uuid), method: :patch, class: 'resend' %>
            <%= button_to 'Destroy', ui_message_path(message.uuid), method: :delete, class: 'destroy' %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
emailbutler-0.3.0 app/views/emailbutler/ui/dashboard/show.html.erb