pai-sklep/resources/views/uploadImage.blade.php

25 lines
580 B
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
</style>
</head>
<body>
@if(Session::has('success'))
<div class="alert alert-success">
{{Session::get('success')}}
</div>
@endif
<div>
<form method="post" action="{{ route("image.store") }}" enctype="multipart/form-data">
<input type="file" name="image">
<input type="submit">
@csrf
</form>
</div>
</body>
</html>