Sha256: 5ad359443d4be006c3eba0e157be97e99a49d7b1db75f275b666d2d170d25875

Contents?: true

Size: 868 Bytes

Versions: 4

Compression:

Stored size: 868 Bytes

Contents

<br/>
<%= t("Payment Gateway") %>:   
<%= f.collection_select :gateway_id, @available_gateways, :id, :name, {}, {:style => "width:250px", :id => "gateway"}%> 
<br/><br/>
<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

4 entries across 4 versions & 1 rubygems

Version Path
spree-0.4.0 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.4.1 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.5.0 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb
spree-0.5.1 vendor/extensions/payment_gateway/app/views/admin/gateway_configurations/_form.html.erb