<%= turbo_frame_tag "edit_order_email_modal" do %> <%= render component("ui/modal").new(title: t(".title")) do |modal| %> <%= form_for @order, url: solidus_admin.order_path(@order), html: { id: form_id } do |f| %> <%= render component("ui/forms/field").text_field(f, :email) %> <% end %> <% modal.with_actions do %>
<%= render component("ui/button").new(scheme: :secondary, text: t('.cancel')) %>
<%= render component("ui/button").new(form: form_id, type: :submit, text: t('.submit')) %> <% end %> <% end %> <% end %> <%= render component("orders/show").new(order: @order) %>