<%= render ModalComponent.new(title: 'Mailbox Details') do |component| %> <% component.with(:body) do %>
Name
<%= @mailbox.name %>
Mock API Token
Sendgrid API Token

<%= link_to 'Edit', edit_mailbox_path, class: 'button', data: { action: 'click->remote-content#load' } %> <%= link_to 'Delete', mailbox_path(@mailbox), class: 'button button--danger', data: { confirm: 'Are you sure you want to delete this mailbox?', method: :delete } %>

<% end %> <% component.with(:footer) do %> <% end %> <% end %>