Sha256: 24ff76304269fb52b75858c78cfa5aa349dd7019eef8a4f2585ce01d199174ea

Contents?: true

Size: 831 Bytes

Versions: 4

Compression:

Stored size: 831 Bytes

Contents

<div data-hook="channel-form-container">
  <%= form_for [:admin, order], method: :put, url: set_channel_admin_order_url do |f| %>
    <fieldset>
    <div data-hook="admin_order_channel_field">
      <%= f.field_container :channel do %>
        <%= f.label :channel, Spree.t(:channel) %>
        <%= f.text_field :channel, name: 'channel', class: 'form-control' %>
        <%= f.error_message_on :channel %>
      <% end %>
    </div>
    <div class="form-actions" data-hook="buttons">
      <%= button Spree.t('actions.update'), 'recycle.svg', 'submit', { class: 'btn-primary', data: { disable_with: "#{ Spree.t(:saving) }..." }} %>
      <span class="or"><%= Spree.t(:or) %></span>
      <%= button_link_to Spree.t('actions.cancel'), edit_admin_order_url(order), icon: 'cancel.svg' %>
    </div>
    <fieldset>
  <% end %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_backend-4.8.4 app/views/spree/admin/orders/_channel_form.html.erb
spree_backend-4.8.3 app/views/spree/admin/orders/_channel_form.html.erb
spree_backend-4.8.2 app/views/spree/admin/orders/_channel_form.html.erb
spree_backend-4.8.1 app/views/spree/admin/orders/_channel_form.html.erb