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

31 lines
1.2 KiB
PHP
Raw Normal View History

2020-06-16 07:04:25 +00:00
@extends("admin.layout.base")
@extends("admin.layout.header")
@section("title")
Bruger - Rediger
@endsection
@section("path")
2020-06-17 09:28:48 +00:00
<a href="{{ route('users.edit', ['id' => user->id]) }}" class="text-white">Rediger Bruger</a> /
2020-06-16 07:04:25 +00:00
@endsection
@section("content")
2020-06-17 09:28:48 +00:00
<h1>Rediger Bruger:</h1>
<form method="post" action="">
2020-06-22 08:08:18 +00:00
@csrf
2020-06-17 09:28:48 +00:00
<label for="name_first">Fornavn:</label>
<input type="text" name="name_first" id="name_first" value="{Fornavn}" required>
<label for="name_last">Efternavn:</label>
<input type="text" name="name_last" id="name_last" value="{Efternavn}" required>
<label for="email">Email:</label>
<input type="email" name="email" id="email" value="{Email}" required>
<label for="password1">Password:</label>
<input type="password" name="password" id="password1" value="{Password}" required>
<label for="password2">Confirm Password:</label>
<input type="password" id="password2" value="{Password}" required>
<label for="tel">Telefon nr:</label>
<input type="tel" name="phone" id="tel" value="{Telefon}" required>
<input type="submit" class="btn btn-dark text-white" value="Rediger">
</form>
2020-06-16 07:04:25 +00:00
@endsection