aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ihatemoney/templates')
-rw-r--r--ihatemoney/templates/layout.html1
-rw-r--r--ihatemoney/templates/send_invites.html7
2 files changed, 8 insertions, 0 deletions
diff --git a/ihatemoney/templates/layout.html b/ihatemoney/templates/layout.html
index 89f65e7..7ff7296 100644
--- a/ihatemoney/templates/layout.html
+++ b/ihatemoney/templates/layout.html
@@ -10,6 +10,7 @@
<script src="{{ url_for("static", filename="js/ihatemoney.js") }}"></script>
<script src="{{ url_for("static", filename="js/tether.min.js") }}"></script>
<script src="{{ url_for("static", filename="js/popper.min.js") }}"></script>
+ <script src="{{ url_for("static", filename="js/tagsinput.js") }}"></script>
<script src="{{ url_for("static", filename="js/bootstrap.min.js") }}"></script>
{% block head %}{% endblock %}
<script type="text/javascript" charset="utf-8">
diff --git a/ihatemoney/templates/send_invites.html b/ihatemoney/templates/send_invites.html
index 87bdf0e..53492c8 100644
--- a/ihatemoney/templates/send_invites.html
+++ b/ihatemoney/templates/send_invites.html
@@ -42,5 +42,12 @@
</tbody>
</table>
+<script>
+$(function() {
+ $('#emails').tagsInput({
+ 'delimiter': [',',';','\t']
+ });
+})
+</script>
{% endblock %}