add typeahead support to the name field

This commit is contained in:
Gered 2014-04-06 20:22:49 -04:00
parent 90cb98de15
commit 545d634e3f

View file

@ -4,7 +4,13 @@
<div class="form-group">
<label for="artByNameName" class="col-sm-2 control-label">Name</label>
<div class="col-sm-3">
<input type="text" class="form-control" id="artByNameName" placeholder="Enter name of art to get" data-uri-path-order="0" />
<input type="text"
class="form-control"
id="artByNameName"
placeholder="Enter name of art to get"
data-provide="typeahead"
data-uri-path-order="0"
data-typeahead-url="{{ path('/api/art') }}" />
</div>
</div>