From cf2c56c7061b7ed40fdd3b40a352ddb9c9b7371f Mon Sep 17 00:00:00 2001 From: alexwl Date: Tue, 2 Oct 2018 13:17:04 +0300 Subject: Initial commit --- .../templates/components/input-with-autocomplete.hbs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 javascript/app/templates/components/input-with-autocomplete.hbs (limited to 'javascript/app/templates/components/input-with-autocomplete.hbs') diff --git a/javascript/app/templates/components/input-with-autocomplete.hbs b/javascript/app/templates/components/input-with-autocomplete.hbs new file mode 100644 index 0000000..eb0100d --- /dev/null +++ b/javascript/app/templates/components/input-with-autocomplete.hbs @@ -0,0 +1,19 @@ +
+ {{input class="form-control search-input" value=query placeholder=placeholder}} +
+ {{# if items}} +
    + {{#each items as |item index|}} +
  • +
    + {{yield item}} +
    +
  • + {{/each}} +
+ {{/if}} +
+
+ +
+
-- cgit v1.2.3