Sha256: 29f10cdf680f02bcd82723cdc59cbedb53a23fd9e94965c7841881d65b0da983

Contents?: true

Size: 1.08 KB

Versions: 30

Compression:

Stored size: 1.08 KB

Contents

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

<% content_for :page_title do %>
  <i class="icon-arrow-right"></i> <%= Spree.t(:new_payment) %>
<% end %>

<% content_for :page_actions do %>
  <li><%= button_link_to Spree.t(:back_to_payments_list), spree.admin_order_payments_url(@order), :icon => 'icon-arrow-left' %></li>
<% 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 @order.cart? ? Spree.t('actions.continue') : Spree.t('actions.update'), @order.cart? ? 'icon-arrow-right' : 'icon-refresh' %>
      </div>
    </fieldset>
  <% end %>
<% else %>
  <%= Spree.t(:cannot_create_payment_without_payment_methods) %>
  <%= link_to Spree.t(:please_define_payment_methods), admin_payment_methods_url %>
<% end %>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
spree_backend-2.1.12 app/views/spree/admin/payments/new.html.erb
spree_backend-2.1.11 app/views/spree/admin/payments/new.html.erb
spree_backend-2.1.10 app/views/spree/admin/payments/new.html.erb
spree_backend-2.0.13 app/views/spree/admin/payments/new.html.erb
spree_backend-2.1.9 app/views/spree/admin/payments/new.html.erb
spree_backend-2.1.8 app/views/spree/admin/payments/new.html.erb
spree_backend-2.0.12 app/views/spree/admin/payments/new.html.erb
spree_backend-2.1.7 app/views/spree/admin/payments/new.html.erb
spree_backend-2.0.11 app/views/spree/admin/payments/new.html.erb
spree_backend-2.0.10 app/views/spree/admin/payments/new.html.erb
spree_backend-2.2.1 app/views/spree/admin/payments/new.html.erb
spree_backend-2.1.6 app/views/spree/admin/payments/new.html.erb
spree_backend-2.2.0 app/views/spree/admin/payments/new.html.erb
spree_backend-2.1.5 app/views/spree/admin/payments/new.html.erb
spree_backend-2.0.9 app/views/spree/admin/payments/new.html.erb
spree_backend-2.1.4 app/views/spree/admin/payments/new.html.erb
spree_backend-2.0.8 app/views/spree/admin/payments/new.html.erb
spree_backend-2.1.3 app/views/spree/admin/payments/new.html.erb
spree_backend-2.0.7 app/views/spree/admin/payments/new.html.erb
spree_backend-2.1.2 app/views/spree/admin/payments/new.html.erb