Sha256: bf65952be4253efe6c033d983132222145b72a71b8a314cbc2f6759e938e5fbe

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

<%= render partial: 'spree/shared/error_messages', locals: { target: @bolt_configuration } %>
<fieldset class="form-group no-border-bottom no-border-top">
  <div class="row">
    <div id="general_fields" class="col-9">
      <div class="row">
        <div class="col-12">
          <%= f.label :environment %>
          <%= f.select :environment, %w[production sandbox staging] %><br />
          <%= f.label 'Merchant Public Id' %><br />
          <%= f.text_field :merchant_public_id, class: 'fullwidth' %>
          <%= f.label 'Division Public Id' %><br />
          <%= f.text_field :division_public_id, class: 'fullwidth' %>
          <%= f.label :api_key %><br />
          <%= f.text_field :api_key, class: 'fullwidth' %>
          <%= f.label :signing_secret %><br />
          <%= f.text_field :signing_secret, class: 'fullwidth' %>
          <%= f.label :publishable_key %><br />
          <%= f.text_field :publishable_key, class: 'fullwidth' %>
        </div>
      </div>
      <div class="row p-2 justify-content-center">
        <%= f.submit submit_name, class: 'btn btn-primary', data: { disable_with: 'Save' } %>
        <%= link_to 'Cancel', admin_bolt_path, class: 'button' %>
      </div>
    </div>
  </div>
</fieldset>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_bolt-0.2.0 app/views/spree/admin/bolts/_form.html.erb
solidus_bolt-0.1.0 app/views/spree/admin/bolts/_form.html.erb