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