call.html 1.17 KB
Newer Older
nepski's avatar
nepski committed
1 2
<h2>{{ _("Call for free") }}</h2>

3
    <form method="post" action="/call/{{ @contact.id }}">
nepski's avatar
nepski committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
        <input type="text" id="contact_id" name="contact_id" hidden="hidden" value="{{ @contact.id }}">
        <p>{{ _("If you want to call for free, you must provide us with your phone number (the PiPhone will call that number to initiate the communication).") }}</p>

        <p>
            <label for="phone">{{_("Your phone number:") }}</label>
            <input type="text" name="phone" id="phone" placeholder="+33123456789001" />
        </p>
        <p>
            {{ _('Starting with your <a href="https://en.wikipedia.org/wiki/List_of_country_calling_codes#Zones_3-4:_Europe">country code</a>, without the initial 0') }}
        </p>
        <input type="submit" value="{{ _("I'm ready, call me") }}" />
    </form>

<h2>{{ _("Call at your expense") }}</h2>
    <p>{{ _("If you don't want to call for free, here is the number of the current MEP (you can either dial it from your phone or push the button if any VoIP client is installed on your device.") }}</p>
    <a href="tel:{{ @contact.tel }}" target="_blank">☎ {{ @contact.tel }}</a>

<p><a href="/">{{ _("Cancel the call") }}</a></p>