diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2023-05-16 14:11:51 +0100 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2023-05-16 14:11:51 +0100 |
commit | 953dc5ef8652a0b7e8ae2c7db3535f1bd157cdd4 (patch) | |
tree | 08a4c9cd4f10a12927f7c57056617672369ed9b6 /src/templates/search.html.j2 | |
parent | 0faf95d56815d310290d3533d81d888deb7731f0 (diff) | |
download | UKGenderPayGap-953dc5ef8652a0b7e8ae2c7db3535f1bd157cdd4.tar.gz UKGenderPayGap-953dc5ef8652a0b7e8ae2c7db3535f1bd157cdd4.zip |
Added alt text, docker
Diffstat (limited to 'src/templates/search.html.j2')
-rw-r--r-- | src/templates/search.html.j2 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/templates/search.html.j2 b/src/templates/search.html.j2 new file mode 100644 index 0000000..4de432c --- /dev/null +++ b/src/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 |