1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/app/views/action_mailroom/inbound_emails/index.html.erb

15 lines
452 B
Text
Raw Normal View History

<% provide :title, "Deliver new inbound email" %>
<h1>All inbound emails</h1>
<table>
<tr><th>Message ID</th><th>Status</th></tr>
<% @inbound_emails.each do |inbound_email| %>
<tr>
<td><%= link_to inbound_email.message_id, main_app.rails_inbound_email_path(inbound_email) %></td>
<td><%= inbound_email.status %></td>
</tr>
<% end %>
</table>
<%= link_to "Deliver new inbound email", main_app.new_rails_inbound_email_path %>