Sha256: 66a1de6bc77407da8f5a9108094136c0acff1b59ad86b3908bece778524cb9f6

Contents?: true

Size: 638 Bytes

Versions: 2

Compression:

Stored size: 638 Bytes

Contents

<tr id="<%%= dom_id(<%= object_name %>) %>
  <td><%= object_name %>.to</td>
  <td><%= object_name %>.mailer_method</td>
  <td><%%= time_ago_in_words(<%= object_name %>.created_at) %> ago</td>
  
  <%% if <%= object_name %>.attempts > 0 %>
    <td><%= object_name %>.attempts</td>
    <td><%%= time_ago_in_words(<%= object_name %>.last_attempt_at) %> ago</td>
  <%% else %>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  <%% end %>
  
  <td><%%= link_to "Deliver", deliver_<%= object_name %>_path(<%= object_name %>), :method => :get %></td>
  <td><%%= link_to 'Delete', <%= object_name %>_path(@<%= object_name %>), :method => :destroy %></td>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mdarby-mq-0.1.1 generators/mq/templates/views/_email.html.erb
mdarby-mq-0.1 generators/mq/templates/views/_email.html.erb