aboutsummaryrefslogtreecommitdiffstats
path: root/templates/search.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/search.html.j2')
-rw-r--r--templates/search.html.j216
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/search.html.j2 b/templates/search.html.j2
new file mode 100644
index 0000000..4de432c
--- /dev/null
+++ b/templates/search.html.j2
@@ -0,0 +1,16 @@
+{% extends "template.html.j2" %}
+{% block content %}
+ <div id="search">
+ {% if companies == [] %}
+ <a>There were no results for that search. Please refine your search.</a>
+ {% else %}
+ <ul>
+ {% for name, id_ in companies %}
+ <li>
+ <a href="{{ '/company/%s' % id_ }}">{{ name }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+ </div>
+{% endblock %} \ No newline at end of file