2021-02-09 14:26:05 +01:00
|
|
|
<% content_for :main_header do %>
|
2021-03-05 00:19:55 +01:00
|
|
|
<h1 class="truncate">Email #<%= @email.id %>: <%= @email.subject %></h1>
|
2021-02-07 16:47:06 +01:00
|
|
|
<% end %>
|
|
|
|
|
2021-03-04 22:07:42 +01:00
|
|
|
<%= render(FlashNoticeComponent.new) { notice } if notice.present? %>
|
2020-12-28 13:02:56 +01:00
|
|
|
|
2021-01-31 12:34:01 +01:00
|
|
|
<%= turbo_stream_from @email %>
|
2020-12-28 13:02:56 +01:00
|
|
|
|
2021-03-05 00:19:55 +01:00
|
|
|
<%= turbo_frame_tag "email" do %>
|
2021-01-31 12:34:01 +01:00
|
|
|
<%= render @email %>
|
|
|
|
|
2021-03-05 00:19:55 +01:00
|
|
|
|
|
|
|
<div class="my-4">
|
|
|
|
<%= link_to '← Back to emails list', filters_path %>
|
|
|
|
</div>
|
2021-01-31 12:34:01 +01:00
|
|
|
<% end %>
|