Sha256: adf831c22feb69a1a645fcac7b4051113e03d042fb4bc00e98a1f3490308b9b7

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

= render 'layout' do
  = render 'effective/ring_payments/content', resource: resource

  - raise('expected owner to respond to billing_address') unless resource.owner.respond_to?(:billing_address)

  = card('Billing Address') do
    %p Please enter your billing address

    = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f|
      = f.hidden_field :id

      = f.fields_for(:owner, f.object.owner) do |fu|
        = effective_address_fields(fu, :billing)

      = f.save 'Save and Continue'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_products-0.0.2 app/views/effective/ring_payments/billing.html.haml