v1.4.8h Fix guides category again :)

This commit is contained in:
2020-10-28 08:20:50 +01:00
parent f51f92b218
commit 16eba9cd62
2 changed files with 34 additions and 11 deletions
@@ -10,6 +10,7 @@
@endsection
@section("content")
<script src="toast.js"></script>
<h1 id="errormesseages" >Opret Bruger:</h1>
<form method="post" action="{{ route("users.store") }}" onsubmit="return checkInputs()" enctype="multipart/form-data">
@csrf
@@ -44,7 +45,7 @@
</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="Opret">
<input type="submit" class="btn btn-dark text-white" onclick="userMade()" value="Opret">
</form>
@endsection
@@ -123,5 +124,15 @@
else
return false;
}
function userMade(){
new Toast({
message: 'This is a danger message. You can use this for errors etc',
type: 'danger'
});
}
</script>
@endsection