feedbackform.html 2.68 KB
Newer Older
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
<!-- Let's split this page in two -->
<div class="container">
    <div class="row">
        <div class="col-md-6">
            <include href="argumentation.html">
        </div>
        <div class="col-md-6">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4>{{ _("Currently calling") }}</h4>
                </div>
                <div class="panel-body">
                    <div>
                        <p class="text-center">{{ @contact.first_name }} {{ @contact.last_name }}</p>
                        <p class="lead text-center">
                            <abbr title="{{ _("Phone number") }}">{{ _("Phone number") }}:</abbr> <a href="tel: {{ @contact.phone }}">{{ @contact.phone }}</a>
                        </p>
                        <dl class="dl-horizontal hidden-xs">
                        <repeat group="{{ @contact.groups }}" value="{{ @group }}">
                        <check if="{{ @group.type!='committee' }}">
                            <dt>{{ @group.type }}:</dt>
                            <dd><a href="#">{{ @group.name }}</a></dd>
                        </check>
                        </repeat>
                        </dl>
                        <ul class="list-inline">
                        <repeat group="{{ @contact.groups }}" value="{{ @group }}">
                        <check if="{{ @group.type=='committee' }}">
                                <li><abbr title="{{ @group.name }}" class="initialism"><ahref="https://memopol.lqdn.fr/europe/parliament/committee/{{ @group.name }}/"><div class="well well-sm">{{ @group.name }}</div></a></abbr></li>
                        </check>
                        </repeat>
                        </ul>
                    </div>
                </div>
            </div>
            <!-- Form in order to feedback your call -->
            <p>{{ @call }}</p>
            <p>{{ _("Please tell us what happened if you were able to talk to someone. Your feedback is important to us.") }}</p>
            <h2>{{ _("Feedback Form") }}</h2>
            <form method="post" action="/feedback/" >
                <input type="text" id="contact_id" name="contact_id" hidden="hidden" value="{{ @contact_id }}" />
                <repeat group="{{ @feedback_categories }}" value="{{ @feedback_category }}">
                <input type="radio" name="feedback_category" value="{{ @feedback_category.id }}" />
                {{ @feedback_category.name }}
                </repeat>
                <p> <textarea id="feedback" name="feedback"></textarea> </p>
                <input type="submit" name="go" value="{{ _("Send my feedback") }}" />
            </form>
        </div>
    </div>
</div>