EvoBal/app/views/emails/show.html.erb

17 lines
382 B
Plaintext
Raw Normal View History

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