Sha256: 7df6ad649ce19587d80ea8b28b269e4784d4f69fb8f7286f8811905f01da8c0d

Contents?: true

Size: 854 Bytes

Versions: 7

Compression:

Stored size: 854 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, class: %w[form-group] 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-success', 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

7 entries across 7 versions & 1 rubygems

Version Path
spree_backend-4.3.3 app/views/spree/admin/orders/_channel_form.html.erb
spree_backend-4.3.2 app/views/spree/admin/orders/_channel_form.html.erb
spree_backend-4.3.1 app/views/spree/admin/orders/_channel_form.html.erb
spree_backend-4.3.0 app/views/spree/admin/orders/_channel_form.html.erb
spree_backend-4.3.0.rc3 app/views/spree/admin/orders/_channel_form.html.erb
spree_backend-4.3.0.rc2 app/views/spree/admin/orders/_channel_form.html.erb
spree_backend-4.3.0.rc1 app/views/spree/admin/orders/_channel_form.html.erb