Sha256: 22c2af1eb429e3ac291cea9184cd581df2ed177ced1e6ab601164cd185536aae

Contents?: true

Size: 991 Bytes

Versions: 101

Compression:

Stored size: 991 Bytes

Contents

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

<% admin_breadcrumb(link_to plural_resource_name(Spree::Payment), spree.admin_order_payments_path(@order)) %>
<% admin_breadcrumb(t('spree.new_payment')) %>


<% content_for :page_actions do %>
<% end %>

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

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

      <div class="filter-actions actions" data-hook="buttons">
        <%= button_tag @order.cart? ? t('spree.actions.continue') : t('spree.actions.update'), class: 'btn btn-primary' %>
      </div>
    </fieldset>
  <% end %>
<% else %>
  <%= t('spree.cannot_create_payment_without_payment_methods_html',
              link: link_to(t('spree.cannot_create_payment_link'), admin_payment_methods_url)) %>
<% end %>

Version data entries

101 entries across 101 versions & 2 rubygems

Version Path
solidus_backend-3.3.4 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.2.9 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.2.8 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.3.3 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.2.7 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.3.2 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.3.1 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.2.6 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.1.9 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.3.0 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.2.5 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.2.4 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.2.3 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.1.8 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.0.8 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.2.2 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.2.1 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.2.0 app/views/spree/admin/payments/new.html.erb
solidus_backend-3.2.0.alpha app/views/spree/admin/payments/new.html.erb
solidus_backend-3.0.7 app/views/spree/admin/payments/new.html.erb