Sha256: c3d92618b6ad0cfbafdc953093a1d76370aa49abfbb2ba5c639b549812144011
Contents?: true
Size: 749 Bytes
Versions: 7
Compression:
Stored size: 749 Bytes
Contents
<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Payments' } %> <h2><%= t(:new) %> <%= t("activerecord.models.#{@payment.class.to_s.underscore}.one") %></h2> <% if @payment_methods.any? %> <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @payment } %> <%= form_for @payment, :url => admin_order_payments_path(@order) do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> <p class="form-buttons" data-hook="buttons"> <%= button @order.cart? ? t(:continue) : t(:update) %> </p> <% end %> <% else %> <%= t(:cannot_create_payment_without_payment_methods) %> <%= link_to t(:please_define_payment_methods), admin_payment_methods_url %> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems