aboutsummaryrefslogtreecommitdiffstats
path: root/resources/views/dashboard/login.edge
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/dashboard/login.edge')
-rw-r--r--resources/views/dashboard/login.edge42
1 files changed, 42 insertions, 0 deletions
diff --git a/resources/views/dashboard/login.edge b/resources/views/dashboard/login.edge
new file mode 100644
index 0000000..58e97ba
--- /dev/null
+++ b/resources/views/dashboard/login.edge
@@ -0,0 +1,42 @@
1@layout('layouts.main')
2
3@section('content')
4<h2>Login</h2>
5@if(flashMessage('error'))
6 <div class="alert">
7 {{ flashMessage('error') }}
8 </div>
9@endif
10@if(old('message'))
11 <div class="alert">
12 {{ old('message') }}
13 </div>
14@endif
15<form action="/user/login" method="POST">
16 {{ csrfField() }}
17 <div>
18 <label>E-Mail</label>
19 <div>
20 <input type="email" value="{{ old('mail', '') }}" placeholder="E-Mail" name="mail">
21 </div>
22 </div>
23 <div>
24 <label>Password</label>
25 <div>
26 <input type="password" placeholder="*********" name="password">
27 </div>
28 </div>
29 <div>
30 <button>Login</button>
31 By logging in, you accept the <a href="/terms">Terms of Service</a> and <a href="/privacy">Privacy policy</a>.
32
33 </div>
34 <div>
35 <p>Not a member yet? Register in the Ferdi app or <a href="../import">import your Franz account</a>.</p>
36 </div>
37</form>
38<br />
39
40</div>
41
42@endsection \ No newline at end of file