aboutsummaryrefslogtreecommitdiffstats
path: root/source/resources/views/student/register/register2.blade.php
blob: d05ff0ab1e983a065da2aea25cc088c701017ffe (plain) (blame)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="nl">
<head>
    <meta charset="UTF-8">
    <title>Registratie – Stap 2</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        body {
            background-color: #f4f5f7;
            font-family: 'Segoe UI', sans-serif;
            padding: 2rem;
        }

        .container { 
            max-width: 450px;
            margin: 0 auto;
            background-color: #fff;
            padding: 2rem 2.5rem;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        h2 {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        label {
            display: block;
            margin-top: 1rem;
            font-weight: 500;
        }

        input[type="text"],
        input[type="file"],
        select {
            width: 100%;
            padding: 0.7rem;
            margin-top: 0.5rem;
            border: 1px solid #dfe1e6;
            border-radius: 8px;
            background-color: #f9fafc;
        }

        textarea {
            width: 100%;
            padding: 0.7rem;
            margin-top: 0.5rem;
            border: 1px solid #dfe1e6;
            border-radius: 8px;
            background-color: #f9fafc;
            resize: vertical;
        }

        .submit-btn {
            margin-top: 2rem;
            width: 100%;
            padding: 0.8rem;
            background-color: #0052cc;
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
        }

        .alert {
            background-color: #ffebe6;
            color: #bf2600;
            padding: 0.75rem 1rem;
            border-radius: 6px;
            font-size: 0.9rem;
            margin-top: 1rem;
        }
    </style>
</head>
<body>

<div class="container">
    <h2>Registratie – school info</h2>

    @if ($errors->any())
        <div class="alert">
            <ul style="margin: 0; padding-left: 1rem;">
                @foreach ($errors->all() as $error)
                    <li>{{ $error }}</li>
                @endforeach
            </ul>
        </div>
    @endif

    <form method="POST" action="{{ route('student.register.step2.submit') }}" enctype="multipart/form-data">
        @csrf

        <label for="study_direction">Studierichting</label>
        <input type="text" name="study_direction" id="study_direction" 
            value="{{ old('study_direction', session('registration.step1.study_direction', '')) }}" required>

<label for="graduation_track">Afstudeertraject</label>
<select name="graduation_track" id="graduation_track" required>
    <option value="" disabled selected>Selecteer afstudeertraject</option>
    

        @foreach ($diplomas as $diploma)
            <option value="{{ $diploma['id'] }}" {{ old('graduation_track') == $diploma['id'] ? 'selected' : '' }}>
                {{ $diploma['type'] }}
            </option>
        @endforeach
</select>


        <label for="cv">Upload je CV (optioneel)</label>
        <input type="file" name="cv" id="cv" accept=".pdf,.doc,.docx">

        <label for="linkedin">LinkedIn-profiel (optioneel)</label>
        <input type="url" name="linkedin" id="linkedin" placeholder="https://www.linkedin.com/in/jouwnaam" value="{{ old('linkedin') }}">

        <button type="submit" class="submit-btn">next step</button>
    </form>
</div>

</body>
</html>