aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/send_invites.html
blob: 53492c85955011619c50c5cc9d7c3d7cbca7d231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{% extends "layout.html" %}

{% block content %}
<h1>{{ _("Invite people to join this project") }}</h1>

<table class="table">
    <tbody>
        <tr>
            <td>
                <h3>{{ _('Share Identifier & code') }}</h3>
            </td>
            <td>
                {{ _("You can share the project identifier and the private code by any communication means.") }}
                <br />
                <strong>{{ _('Identifier:') }}</strong> <a href="{{ url_for("main.list_bills", project_id=g.project.id) }}">{{ g.project.id }}</a>
            </td>
        </tr>
        <tr>
            <td>
                <h3>{{ _('Share the Link') }}</h3>
            </td>
            <td>
                {{ _("You can directly share the following link via your prefered medium") }}</br>
                <a href="{{ url_for(".authenticate", _external=True, token=g.project.generate_token()) }}">
                    {{ url_for(".authenticate", _external=True, token=g.project.generate_token()) }}
                </a>
            </td>
        </tr>
        <tr>
            <td>
                <h3>{{ _('Send via Emails') }}</h3>
            </td>
            <td>
                <p>{{ _("Specify a (comma separated) list of email adresses you want to notify about the
                creation of this budget management project and we will send them an email for you.") }}</p>
                {% include "display_errors.html" %}
                <form class="invites form-horizontal" method="post" accept-charset="utf-8">
                    {{ forms.invites(form) }}
                </form>
            </td>
        </tr>
    </tbody>
</table>

<script>
$(function() {
	$('#emails').tagsInput({
		'delimiter': [',',';','\t']
	});
})
</script>

{% endblock %}