add typeahead support to the name field
This commit is contained in:
parent
90cb98de15
commit
545d634e3f
|
@ -4,7 +4,13 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="artByNameName" class="col-sm-2 control-label">Name</label>
|
<label for="artByNameName" class="col-sm-2 control-label">Name</label>
|
||||||
<div class="col-sm-3">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Reference in a new issue