Sha256: 536c87cf2768bd201677c2c8d59880382aafbd836b98b607a927efb5a9829c64

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

<table>
	<tr>
    <td><label><%=t("name")%></label></td>
    <td><%= text_field :billing_integration, :name, {"style" => "width:200px"} %></td>
  </tr>
	<tr>
    <td><label><%=t("description")%></label></td>
    <td><%= text_area :billing_integration, :description, {:cols => 60, :rows => 4} %></td>
  </tr>
  <tr>
    <td><label><%=t("environment")%></label></td>
    <td>
      <%= collection_select(:billing_integration, :environment, Configuration.configurations.keys, :to_s, :titleize, {}, {:id => "gtwy-env"}) %>
    </td>
  </tr>
  <tr>
    <td><label><%= t("active") %></label></td>
    <td>
      <label class="sub">
        <%= radio_button(:billing_integration, :active, true ) %>
        <%= t("yes") %>
      </label> &nbsp; 
      <label class="sub">
        <%= radio_button(:billing_integration, :active, false ) %>
        <%= t("no") %>
      </label>
    </td>
  </tr>
</table>
 
<h2><%= t('settings') %></h2>

<div id="preference-settings">
  <%= f.label(:type, t("provider")) %>
  <%= collection_select(:billing_integration, :type, @providers, :to_s, :name, {}, {:id => "gtwy-type"}) %>

  <% unless @object.new_record? %>
 
    <%= preference_fields(@object, f) %>
 
    <% if @object.respond_to?(:preferences) %>
      <div id="calculator-settings-warning" style="color:#FF0000"><%= t('integration_settings_warning')%></div>
    <% end %>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree-enriquez-0.9.4 app/views/admin/billing_integrations/_form.html.erb