Sha256: 571fe1119a9116caa9695f7a980e55eaea04101c2c42ed5124baa4c5bf00c305

Contents?: true

Size: 1.82 KB

Versions: 1

Compression:

Stored size: 1.82 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>Item#new</h1>
<form novalidate="novalidate" class="simple_form new_item" id="new_item" action="/items" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="&#x2713;" />
  <div class="input string optional item_name"><label class="string optional control-label" for="item_name">Name</label><input class="string optional" type="text" name="item[name]" id="item_name" /></div>
  <div class="input token optional item_category_id"><label class="token optional control-label" for="item_category_id">Category</label><input data-pre="[]" value="" id="item_category_id" type="text" name="item[category_id]" /><script type="text/javascript">
        jQuery.noConflict();
        jQuery(function() {
          jQuery('#item_category_id').tokenInput(function() { return '/categories/token'; }, {
            crossDomain: false,
            tokenLimit: 1,
            preventDuplicates: true,
            prePopulate: jQuery('#category_id').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></div>
  <input type="submit" name="commit" value="Create Item" />
</form><a href="/items">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-27.943.html