Sha256: c47956e404971890ac4152a73ecbae05836104c6375135b241234aae8ff883ac

Contents?: true

Size: 825 Bytes

Versions: 16

Compression:

Stored size: 825 Bytes

Contents

<%= render partial: 'spree/admin/shared/order_tabs', locals: { current: 'Vendedor' } %>

<% admin_breadcrumb("Vendedor") %>

<div data-order-number="<%= @order.number %>">
  <div>
    <fieldset class="no-border-bottom">
      <legend>Vendedor</legend>
      <%= form_with model: @order, url: admin_orders_update_seller_path(@order) do |form| %>
        <%= form.select :seller_id, @sellers.pluck(:name, :id), { selected: @order.solidus_bling_seller_id || @sellers.default&.id }, class:"custom-select fullwidth" %>
        <div class="form-buttons filter-actions actions" data-hook="buttons">
          <%= form.submit t('spree.actions.update'), class: 'btn btn-primary mt-4' %>
        </div>
      <% end %>
    </fieldset>
  </div>

  <%= render partial: 'spree/shared/error_messages', locals: { target: @order } %>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
solidus_bling-3.5.3 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.5.2 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.5.1 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.4.7 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.4.6 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.4.5 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.4.4 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.4.3 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.4.2 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.4.1 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.4.0 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.3.6 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.3.5 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.3.3 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.3.2 app/views/spree/admin/orders/sellers/edit.html.erb
solidus_bling-3.3.1 app/views/spree/admin/orders/sellers/edit.html.erb