Sha256: 2e7b1fcac04f0f72c97742e9f5fb180b9953ba2ad5ee6d4afd3bd0725bc5044b
Contents?: true
Size: 1.09 KB
Versions: 9
Compression:
Stored size: 1.09 KB
Contents
<%= render :partial => 'spree/admin/shared/order_tabs', :locals => { :current => 'Payments' } %> <% content_for :page_title do %> <i class="icon-arrow-right"></i> <%= t(:new) %> <%= t("activerecord.models.#{@payment.class.to_s.underscore}.one") %> <% end %> <% content_for :page_actions do %> <li><%= button_link_to 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? ? t(:continue) : t(:update), @order.cart? ? 'icon-arrow-right' : 'icon-refresh' %> </div> </fieldset> <% end %> <% else %> <%= t(:cannot_create_payment_without_payment_methods) %> <%= link_to t(:please_define_payment_methods), admin_payment_methods_url %> <% end %>
Version data entries
9 entries across 9 versions & 2 rubygems