v0.10.15e - Administration can now changes a users profile images

This commit is contained in:
2020-08-26 08:56:18 +02:00
parent f33cf609da
commit a9608bdf3a
3 changed files with 10 additions and 2 deletions
@@ -11,7 +11,7 @@
@section("content")
<h1>Rediger Bruger:</h1>
<form method="post" action="{{ route("users.update", ['user' => $user]) }}" onsubmit="return checkInputs()">
<form method="post" action="{{ route("users.update", ['user' => $user]) }}" onsubmit="return checkInputs()" enctype="multipart/form-data">
@csrf
@method("put")
<label for="name_first">Fornavn:</label>
@@ -57,6 +57,8 @@
@endforeach
@endif
</select>
<label for="fileuploade">Skift brugerens profile billede:</label>
<input id="fileuploade" type="file" name="resource" accept="image/*">
<input type="submit" class="btn btn-dark text-white" value="Rediger">
</form>
@endsection
@@ -29,7 +29,6 @@
text-align: center;
border-radius: 6px;
padding: 5px 0;
/* Position the tooltip */
position: absolute;
z-index: 10;
top: -5px;