summaryrefslogtreecommitdiff
path: root/templates/register.html.ep
blob: 1983e9284702c617a7fdc3e5f5e212489cce42a6 (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
54
55
56
57
58
59
60
61
62
63
64
65
% if (my $invalid = stash('invalid')) {
	%= include '_invalid_input', invalid => $invalid
% }
%= form_for '/register' => (method => 'POST') => begin
	%= csrf_field
	<div class="row">
		<div class="input-field col l6 m12 s12">
			<i class="material-icons prefix">account_circle</i>
			%= text_field 'user', id => 'account', class => 'validate', required => undef, pattern => '[0-9a-zA-Z_-]+', maxlength => 60, autocomplete => 'username'
			<label for="account">Name (alphanumerisch)</label>
		</div>
		<div class="input-field col l6 m12 s12">
			<i class="material-icons prefix">email</i>
			%= email_field 'email', id => 'email', class => 'validate', required => undef, maxlength => 250
			<label for="email">Mail-Adresse</label>
		</div>
		<div class="input-field col l6 m12 s12">
			<i class="material-icons prefix">lock</i>
			%= password_field 'password', id => 'password', class => 'validate', required => undef, minlength => 8, autocomplete => 'new-password'
			<label for="password">Passwort</label>
		</div>
		<div class="input-field col l6 m12 s12">
			<i class="material-icons prefix">lock</i>
			%= password_field 'password2', id => 'password2', class => 'validate', required => undef, minlength => 8, autocomplete => 'new-password'
			<label for="password2">Passwort wiederholen</label>
		</div>
	</div>
	<div class="row">
		<div class="col s3 m3 l3">
		</div>
		<div class="col s6 m6 l6 center-align">
			<button class="btn waves-effect waves-light" type="submit" name="action" value="register">
				Registrieren
				<i class="material-icons right">send</i>
			</button>
		</div>
		<div class="col s3 m3 l3">
		</div>
	</div>
%= end
<div class="row">
	<div class="col s12">
		<p>
			Nach der Registrierung wird ein für 48 Stunden gültiger
			Bestätigungslink an die angegebene Mail-Adresse geschickt. Eine
			Anmeldung ist erst nach Bestätigung der Mail-Adresse möglich.
		</p>
		<p>
			Die Mail-Adresse wird ausschließlich zur Bestätigung der Anmeldung
			und für die "Passwort vergessen"-Funktionalität verwendet und nicht
			an Dritte weitergegeben.  Die <a
			href="/impressum">Datenschutzerklärung</a> beschreibt weitere
			erhobene Daten sowie deren Zweck und Speicherfristen.
			Accounts werden nach einem Jahr ohne Aktivität automatisch gelöscht.
		</p>
		<p>
			Bitte beachten: Travelynx ist ein privat betriebenes Projekt ohne
			Verfügbarkeitsgarantie. Unangekündigte Downtimes oder eine
			kurzfristige Einstellung dieser Seite sind nicht vorgesehen, aber
			möglich.
		</p>
	</div>
</div>

%= include '_footer', version => stash('version')