Sha256: ec6daf04dd33b09861280747bf4acd83e087daa155c5729364e3007d52aa030e

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 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#edit</h1>
<form class="edit_product" id="edit_product_1" action="/products/1" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="&#x2713;" /><input type="hidden" name="_method" value="patch" />
  <p>
    <label for="product_name">Name</label>
    <input type="text" value="product" name="product[name]" id="product_name" />
  </p>
  <p>
    <label for="product_category_ids">Category ids</label>
    <input data-pre="[{&quot;id&quot;:1,&quot;name&quot;:&quot;shoes&quot;},{&quot;id&quot;:3,&quot;name&quot;:&quot;pents&quot;}]" value="1,3" id="product_category_ids_1" type="text" name="product[category_ids]" /><script type="text/javascript">
        jQuery.noConflict();
        jQuery(function() {
          jQuery('#product_category_ids_1').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="Update 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.364.html