app/views/mailbin/messages/show.html.erb in mailbin-0.1.0 vs app/views/mailbin/messages/show.html.erb in mailbin-0.1.1

- old
+ new

@@ -1,14 +1,13 @@ <nav> <%= link_to "Back to emails", messages_path %> + <h1><%= @email.subject %></h1> + <%= button_to "Delete", message_path(@email.message_id), method: :delete, class: "btn", data: {turbo_confirm: "Are you sure?"} %> </nav> <header> <dl> - <dt>Actions</dt> - <dd><%= button_to "Delete", message_path(@email.message_id), method: :delete, data: {turbo_confirm: "Are you sure?"} %> </dd> - <% if Array(@email.from) != Array(@email.smtp_envelope_from) %> <dt>SMTP-From:</dt> <dd id="smtp_from"><%= @email.smtp_envelope_from %></dd> <% end %> @@ -86,10 +85,10 @@ <% unless @email.header_fields.nil? || @email.header_fields.empty? %> <dt>Headers:</dt> <dd> <details> <summary>Show all headers</summary> - <table> + <table class="headers"> <% @email.header_fields.each do |field| %> <tr> <th><%= field.name %>:</th> <td><%= field.value %></td> </tr>