Sha256: bdd1cb35575aed62206b3b6e518d67349cf3d06ccbef15ee486c14447a0ca2c7
Contents?: true
Size: 609 Bytes
Versions: 7
Compression:
Stored size: 609 Bytes
Contents
<div data-hook="admin_payment_form_fields"> <p> <%= f.label :amount, t(:amount) %> <%= f.text_field :amount, :size => 8, :value => @order.outstanding_balance %> </p> <% @payment_methods.each do |method| %> <label data-hook="payment_method_field"> <%= radio_button_tag 'payment[payment_method_id]', method.id, method == @payment_method %> <%= t(method.name, :scope => :payment_methods, :default => method.name) %> </label> <%= render :partial => "spree/admin/payments/source_forms/#{method.method_type}", :locals => { :payment_method => method } %> <% end %> </div>
Version data entries
7 entries across 7 versions & 1 rubygems