Sha256: 6e183be86c35e2500d206dbbd15e89e383211c504a3589d3edb595fe773f7f8a

Contents?: true

Size: 783 Bytes

Versions: 3

Compression:

Stored size: 783 Bytes

Contents

<%= turbo_frame_tag :edit_shipping_category_modal do %>
  <%= render component("ui/modal").new(title: t(".title")) do |modal| %>
    <%= form_for @shipping_category, url: solidus_admin.shipping_category_path(@shipping_category), html: { id: form_id } do |f| %>
      <div class="flex flex-col gap-6 pb-4">
        <%= render component("ui/forms/field").text_field(f, :name) %>
      </div>
      <% modal.with_actions do %>
        <form method="dialog">
          <%= render component("ui/button").new(scheme: :secondary, text: t('.cancel')) %>
        </form>
        <%= render component("ui/button").new(form: form_id, type: :submit, text: t('.submit')) %>
      <% end %>
    <% end %>
  <% end %>
<% end %>
<%= render component("shipping_categories/index").new(page: @page) %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 app/components/solidus_admin/shipping_categories/edit/component.html.erb
solidus_admin-0.3.1 app/components/solidus_admin/shipping_categories/edit/component.html.erb
solidus_admin-0.3.0 app/components/solidus_admin/shipping_categories/edit/component.html.erb