Sha256: 99e390c393981e681062c4c7af0003a8c467e7799391fa146498440cbdb18e0b

Contents?: true

Size: 1.81 KB

Versions: 2

Compression:

Stored size: 1.81 KB

Contents

<%= form_tag update_plugin_configuration_path, :class => 'form-horizontal' do %>
    <div class="form-group">
      <%= label_tag :account_id, 'Account ID', :class => 'col-sm-2 control-label', :data => {:toggle=>"popover", :trigger=> "hover", :content=> "Your AvaTax account number"} %>
      <div class="col-sm-10">
        <%= text_field_tag :account_id, @configuration[:account_id], :class => 'form-control', :required => true %>
      </div>
    </div>
    <div class="form-group">
      <%= label_tag :license_key, 'License key', :class => 'col-sm-2 control-label', :data => {:toggle=>"popover", :trigger=> "hover", :content=> "Your AvaTax license key"} %>
      <div class="col-sm-10">
        <%= text_field_tag :license_key, @configuration[:license_key], :class => 'form-control', :required => true %>
      </div>
    </div>
    <div class="form-group">
      <%= label_tag :company_code, 'Company code', :class => 'col-sm-2 control-label', :data => {:toggle=>"popover", :trigger=> "hover", :content=> "Your company code"} %>
      <div class="col-sm-10">
        <%= text_field_tag :company_code, @configuration[:company_code], :class => 'form-control', :required => true %>
      </div>
    </div>
    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <div class="checkbox">
          <%= label_tag :commit_documents, 'Commit documents', :class => 'control-label' do %>
              <%= check_box_tag :commit_documents, '1', @configuration[:commit_documents] %>Commit documents?
          <% end %>
        </div>
      </div>
    </div>
    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <%= submit_tag 'Save', :class => 'btn btn-default' %>
      </div>
    </div>
<% end %>



<%= javascript_tag do %>
  $(function () {
    $('[data-toggle="popover"]').popover()
  })
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
killbill-avatax-3.0.3 app/views/avatax/configuration/_plugin_form.html.erb
killbill-avatax-3.0.2 app/views/avatax/configuration/_plugin_form.html.erb