17 lines
382 B
Plaintext
17 lines
382 B
Plaintext
<% content_for :main_header do %>
|
|
<h1 class="truncate">Email #<%= @email.id %>: <%= @email.subject %></h1>
|
|
<% end %>
|
|
|
|
<%= render(FlashNoticeComponent.new) { notice } if notice.present? %>
|
|
|
|
<%= turbo_stream_from @email %>
|
|
|
|
<%= turbo_frame_tag "email" do %>
|
|
<%= render @email %>
|
|
|
|
|
|
<div class="my-4">
|
|
<%= link_to '← Back to emails list', filters_path %>
|
|
</div>
|
|
<% end %>
|