Sha256: 62655c77865ca5016913dcf31ed3cc8b4eadc92018b8ef16df35703fb3bde158

Contents?: true

Size: 659 Bytes

Versions: 2

Compression:

Stored size: 659 Bytes

Contents

<%= stylesheet_link_tag css_path, media: 'all' %>

<div>
  <div id="card-errors">
  </div>

  <%= form_tag submit_path, id: "stripe-form" do %>
    <% if local_assigns[:block] %>
      <div id="stripe-rails-form-fields">
        <%= capture(&local_assigns[:block]) %>
      </div>
    <% end %>
    <%= label_tag :card_element, label_text %>
    <div id="card-element"><!-- A Stripe Element will be inserted here. --></div>
    <%= submit_tag submit_button_text %>
  <% end %>
</div>

<script>
  window.stripe_publishable_key = '<%= Rails.application.config.stripe.publishable_key %>'
</script>
<%= javascript_include_tag js_path, id: "stripe_elements_js" %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stripe-rails-2.6.0 app/views/stripe/_elements.html.erb
stripe-rails-2.5.0 app/views/stripe/_elements.html.erb