Sha256: 4e20ecd1afecc68c99c38a1f57f119374f965fe606246a09ff25affc53a77dc4

Contents?: true

Size: 557 Bytes

Versions: 2

Compression:

Stored size: 557 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <meta charset='utf-8'>
  <script src='braintree.js'></script>
  <script src='jquery-2.1.0.js'></script>
</head>
<body>
  <form id='checkout' action='/credit_cards' method='post'>
    <input name='number' data-braintree-name='number'>
    <input name='expiration-date' data-braintree-name='expiration_date'>
    <input id='submit' type='submit'>
  </div>

  <script>
    jQuery(function() {
      var token = <%= @token.to_json %>;
      braintree.setup(token, 'custom', {id: 'checkout'});
    });
  </script>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fake_braintree-0.8.0 spec/dummy/views/custom_checkout.html.erb
fake_braintree-0.7.0 spec/dummy/views/custom_checkout.html.erb