Sha256: 389e084dab240d1e2310d446862aff6450ec84ea36259d4f2e7d67b3f42bd7f2
Contents?: true
Size: 1.03 KB
Versions: 7
Compression:
Stored size: 1.03 KB
Contents
<div data-hook="admin_payment_form_fields" class="row"> <div class="alpha three columns"> <div class="field"> <%= f.label :amount, t(:amount) %> <%= f.text_field :amount, :value => @order.outstanding_balance, :class => 'fullwidth' %> </div> </div> <div class="omega nine columns"> <div class="field"> <label><%= t(:payment_method) %></label> <ul> <% @payment_methods.each do |method| %> <li> <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> </li> <% end %> </ul> <div class="payment-method-settings"> <% @payment_methods.each do |method| %> <%= render :partial => "spree/admin/payments/source_forms/#{method.method_type}", :locals => { :payment_method => method } %> <% end %> </div> </div> </div> </div>
Version data entries
7 entries across 7 versions & 2 rubygems