Sha256: 7c271052ae5d29fa8b7caca9f7770ff10639adc9d3a0fe5e934fca1892a40c81

Contents?: true

Size: 893 Bytes

Versions: 12

Compression:

Stored size: 893 Bytes

Contents

<p>
  <label for="gateway_id"><%= t("payment_gateway") %></label>
  <%= f.collection_select :gateway_id, @available_gateways, :id, :name, {}, {:style => "width:250px", :id => "gateway"}%> 
</p>

<h2><%= t("configuration_options") %></h2>

<%= image_tag "spinner.gif", :style => "display:none", :id => 'busy_indicator' %>

<div id="config-options">
  <%= render :partial => "admin/gateway_option_values/options", 
             :locals => {:option_values => @gateway_configuration.gateway_option_values} %>
</div>  

<%= observe_field :gateway, 
                  :url => admin_gateway_configuration_gateway_option_values_url(@gateway_configuration),
                  :with => 'gw_id',
                  :method => :get,
                  :before => "Element.show('busy_indicator')",
                  :after => "Element.hide('busy_indicator')",
                  :update => "config-options" %>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
spree-enriquez-0.9.4 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.9.4 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.9.3 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.9.2 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.9.1 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.9.0 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.8.4 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.8.5 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.8.0 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.8.1 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.8.2 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.8.3 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb