Sha256: ec8881c1ac431938589d4b1fcbe4f093f925d67deb4f131bb323fd1bf50f8e91

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Dummy</title>
  <link rel="stylesheet" media="all" href="/assets/application.css" />
  <script src="/assets/application.js"></script>
  
</head>
<body>

<h1>Product#new</h1>
<form class="new_product" id="new_product" action="/products" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="&#x2713;" />
  <p>
    <label for="product_name">Name</label>
    <input type="text" name="product[name]" id="product_name" />
  </p>
  <p>
    <label for="product_category_ids">Category ids</label>
    <input data-pre="[]" value="" id="product_category_ids" type="text" name="product[category_ids]" /><script type="text/javascript">
        jQuery.noConflict();
        jQuery(function() {
          jQuery('#product_category_ids').tokenInput('/categories/token', {
            crossDomain: false,
            tokenLimit: null,
            preventDuplicates: true,
            prePopulate: jQuery('#category_ids').data('pre'),
            theme: 'facebook',
            hintText: '<span class="translation_missing" title="translation missing: en.helpers.token_field.hint_text">Hint Text</span>',
            searchingText: '<span class="translation_missing" title="translation missing: en.helpers.token_field.searching_text">Searching Text</span>',
            noResultsText: '<span class="translation_missing" title="translation missing: en.helpers.token_field.no_results_text">No Results Text</span>',
            onAdd: false,
            onDelete: false
            });
          });
      </script>
  </p>
  <input type="submit" name="commit" value="Create Product" />
</form><a href="/products">Listing</a>


</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
token_field-2.0.0 spec/dummy/tmp/capybara/screenshot_2015-10-26-19-41-34.290.html