Sha256: 79b26f85898b01c2f095d57f6ee55b436408f1e228ea76e28e72ef643c47197e

Contents?: true

Size: 1.45 KB

Versions: 68

Compression:

Stored size: 1.45 KB

Contents

<div data-hook="admin_payment_form_fields" class="row">
  <div class="alpha three columns">
    <div class="field">
      <%= f.label :amount, Spree.t(:amount) %>
      <%= f.text_field :amount, :value => @order.display_outstanding_balance.money, :class => 'fullwidth' %>
    </div>
  </div>
  <div class="omega nine columns">
    <div class="field">
      <label><%= Spree.t(:payment_method) %></label>
      <ul>
        <% @payment_methods.each do |method| %>
          <li data-id="<%= Spree.t(method.name, :scope => :payment_methods, :default => method.name).parameterize %>">
            <label data-hook="payment_method_field">
              <%= radio_button_tag 'payment[payment_method_id]', method.id, method == @payment_method, { class: "payment_methods_radios" } %>
              <%= Spree.t(method.name, :scope => :payment_methods, :default => method.name) %>
            </label>
          </li>
        <% end %>
      </ul>

      <div class="payment-method-settings">
        <% @payment_methods.each do |method| %>

          <div class="payment-methods" id="payment_method_<%= method.id %>">
            <% if method.source_required? %>
              <br />
              <%= render :partial => "spree/admin/payments/source_forms/#{method.method_type}",
                         :locals => { :payment_method => method, previous_cards: method.reusable_sources(@order) } %>
            <% end %>
          </div>
        <% end %>
      </div>
    </div>
  </div>
</div>

Version data entries

68 entries across 68 versions & 2 rubygems

Version Path
solidus_backend-1.2.3 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.1.4 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.0.7 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.0.6 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.2.2 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.2.1 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.1.3 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.0.5 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.2.0 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.2.0.rc2 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.0.4 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.1.2 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.2.0.rc1 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.2.0.beta1 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.0.3 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.1.1 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.1.0 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.1.0.pre2 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.1.0.pre1 app/views/spree/admin/payments/_form.html.erb
solidus_backend-1.1.0.beta1 app/views/spree/admin/payments/_form.html.erb