Ekapp/skolehjem/resources/views/admin/users/create.blade.php

31 lines
1.3 KiB
PHP
Raw Normal View History

2020-06-15 06:56:21 +00:00
@extends("admin.layout.base")
@extends("admin.layout.header")
@section("title")
Bruger - Opret
@endsection
2020-06-15 09:28:37 +00:00
@section("path")
2020-06-17 09:28:48 +00:00
<a href="{{ route('users.create') }}" class="text-white">Opret Bruger</a> /
2020-06-15 09:28:37 +00:00
@endsection
2020-06-15 06:56:21 +00:00
@section("content")
<h1>Opret Bruger:</h1>
2020-06-22 12:53:00 +00:00
<form method="post" action="{{ route("users.store") }}">
2020-06-22 08:08:18 +00:00
@csrf
2020-06-15 06:56:21 +00:00
<label for="name_first">Fornavn:</label>
2020-06-29 07:57:21 +00:00
<input type="text" name="name_first" id="name_first" placeholder="Fornavn" required>
2020-06-15 06:56:21 +00:00
<label for="name_last">Efternavn:</label>
2020-06-29 07:57:21 +00:00
<input type="text" name="name_last" id="name_last" placeholder="Efternavn" required>
2020-06-15 06:56:21 +00:00
<label for="email">Email:</label>
2020-06-29 07:57:21 +00:00
<input type="email" name="email" id="email" placeholder="x@y.z" required>
2020-06-15 06:56:21 +00:00
<label for="password1">Password:</label>
2020-06-29 07:57:21 +00:00
<input type="password" name="password" placeholder="Password" id="password1" required>
<label for="password2">Bekræft Password:</label>
<input type="password" id="password2" placeholder="Bekræft Password" required>
2020-06-15 06:56:21 +00:00
<label for="tel">Telefon nr:</label>
2020-06-29 07:57:21 +00:00
<input type="tel" name="phone" id="tel" placeholder="12345678" pattern="[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{2}" required>
2020-06-15 06:56:21 +00:00
<input type="submit" class="btn btn-dark text-white" value="Opret">
</form>
@endsection