Sha256: 119dab64132a6a015d3ed0a2afc1f82d8be4a10830c7cfc39ce2629bf123d89f

Contents?: true

Size: 889 Bytes

Versions: 26

Compression:

Stored size: 889 Bytes

Contents

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

<% content_for :page_title do %>
  / <%= Spree.t(:new_payment) %>
<% end %>

<% if @payment_methods.any? %>
  <%= render partial: 'spree/admin/shared/error_messages', locals: { target: @payment } %>

  <%= form_for @payment, url: admin_order_payments_path(@order) do |f| %>
    <fieldset>
      <%= render partial: 'form', locals: { f: f } %>

      <div class="form-actions" data-hook="buttons">
        <%= button @order.cart? ? Spree.t('actions.continue') : Spree.t('actions.update'), @order.cart? ? 'arrow-right.svg' : 'save.svg' %>
      </div>
    </fieldset>
  <% end %>

<% else %>
  <div class="alert alert-info">
    <%= Spree.t(:cannot_create_payment_without_payment_methods) %>
    <%= link_to Spree.t(:please_define_payment_methods), spree.admin_payment_methods_url %>
  </div>
<% end %>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
spree_backend-4.2.7 app/views/spree/admin/payments/new.html.erb
spree_backend-4.3.3 app/views/spree/admin/payments/new.html.erb
spree_backend-4.2.6 app/views/spree/admin/payments/new.html.erb
spree_backend-4.3.2 app/views/spree/admin/payments/new.html.erb
spree_backend-4.4.1 app/views/spree/admin/payments/new.html.erb
spree_backend-4.4.0 app/views/spree/admin/payments/new.html.erb
spree_backend-4.4.0.rc2 app/views/spree/admin/payments/new.html.erb
spree_backend-4.3.1 app/views/spree/admin/payments/new.html.erb
spree_backend-4.4.0.rc1 app/views/spree/admin/payments/new.html.erb
spree_backend-4.3.0 app/views/spree/admin/payments/new.html.erb
spree_backend-4.3.0.rc3 app/views/spree/admin/payments/new.html.erb
spree_backend-4.3.0.rc2 app/views/spree/admin/payments/new.html.erb
spree_backend-4.3.0.rc1 app/views/spree/admin/payments/new.html.erb
spree_backend-4.2.5 app/views/spree/admin/payments/new.html.erb
spree_backend-4.2.4 app/views/spree/admin/payments/new.html.erb
spree_backend-4.2.3.1 app/views/spree/admin/payments/new.html.erb
spree_backend-4.2.3 app/views/spree/admin/payments/new.html.erb
spree_backend-4.2.2 app/views/spree/admin/payments/new.html.erb
spree_backend-4.2.1 app/views/spree/admin/payments/new.html.erb
spree_backend-4.2.0 app/views/spree/admin/payments/new.html.erb