Sha256: 0466eb76db7c7516541b4a0d2c4848172900377164bfffc50b7ada11e157f3a9

Contents?: true

Size: 828 Bytes

Versions: 1

Compression:

Stored size: 828 Bytes

Contents

<% admin_breadcrumb(plural_resource_name(SolidusBolt::BoltConfiguration)) %>

<% content_for :page_actions do %>
  <% if SolidusBolt::BoltConfiguration.config_empty? %>
    <li>
      <p>Don't have a <%= image_tag "bolt_logo_standard.png", alt: "Bolt", width: "40" %> Merchant account yet?</p>
    </li>
    <li>
      <%= link_to t('spree.admin.bolt.create_merchant_account'), SolidusBolt::BoltConfiguration::REGISTER_URL, class: 'btn btn-primary', target: '_blank' %>
    </li>
  <% else %>
    <li>
      <%= link_to 'Configure Webhooks', new_admin_bolt_webhook_path, class: 'btn btn-primary' %>
    </li>
  <% end %>
<% end %>

<fieldset class="no-border-bottom">
  <legend align="center"><%= t('spree.admin.bolt.configuration') %></legend>
  <%= render partial: 'configuration', locals: { edit_btn: 'Edit' } %>
</fieldset>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_bolt-0.0.1 app/views/spree/admin/bolts/show.html.erb