File: validate.tt

package info (click to toggle)
libmojomojo-perl 1.12%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,524 kB
  • sloc: perl: 14,730; xml: 120; sh: 97; makefile: 8; ruby: 6
file content (24 lines) | stat: -rw-r--r-- 959 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[% WRAPPER page/wrapper.tt simple_header=1 simple_footer=1 title=loc('Email Validation') %]
<div id="content">
    [% IF error %]
        [% error %]
    [% ELSE %]
        <h1>[% loc('Validation') %]</h1>    
        <h4>[% loc("We've sent you an email with an activation link. Please click on it to activate your account!") %]</h4>
        [% loc('The email was sent to x.', user.email) %]
    [% END %]

    <h2>[% loc("Didn't receive an email?") %]</h2>

    <p>[% loc('Fill in the email address you want to use here') %]:</p>

    <form action="[% c.uri_for('user/reconfirm') %]" method="POST">
        <label for="email">[% loc('Email') %]:<label> 
        <input id="email" type="text" name="email"/>
        <input type="submit" name="OK" value="OK"/>
    </form>

    [% SET link = '<a href="' _ c.uri_for('logout') _ '">' _ loc('log out') _ '</a>' %]
    <p>[% loc('If you are unable to validate, please x', link) %].</p>
</div>
[% END # WRAPPER %]