aboutsummaryrefslogtreecommitdiffstats
path: root/templates/submit_confirm.html
blob: 6c7b8e2fd425f3f25d64d274dd0fc8440d74a9a7 (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
<div id="submit-header" data-role="header">
    <h1>[% loc('Your details') %]</h1>
</div>

<div data-role="content">
    <p class="notopmargin">
    [% tprintf('You are logged in as %s', '<%= user.email %>') %].
    </p>

    <p>
    [% loc('Please confirm your name, if you want it to be public and optionally your phone number.') %]
    </p>

    <div id="errors"></div>

    <div class="inputcard">
        <div>
            <input data-role="none" type="text" value="<%= user.name %>" name="name" id="form_name" placeholder="[% loc('Please enter your name') %]" required>
        </div>
        <div>
            <input data-role="none" type="tel" value="<%= user.phone %>" name="name" id="form_phone" placeholder="[% loc('Optionally enter your phone number') %]">
        </div>
        <div class="checkbox-group noborder">
            <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1" <% if ( typeof user.may_show_name == 'undefined' || user.may_show_name ) { %>checked<% } %>>
            <label class="inline" for="form_may_show_name">[% loc('Show my name publicly') %]</label>
        </div>
    </div>
    <div class="bottom-btn">
        <input data-role="button" data-theme="a" type="button" id="report" name="report" value="[% loc('Report') %]">
    </div>
</div>