v0.8.4a - Added last support for images uploade

This commit is contained in:
2020-08-12 12:49:05 +02:00
parent 7784623efe
commit d016ea6c4c
5 changed files with 18 additions and 5 deletions
@@ -24,7 +24,7 @@
</style>
<link href="https://cdn.quilljs.com/1.3.6/quill.snow.css" rel="stylesheet">
<h1>Opret Vejledning</h1>
<form method="post" action="{{ route("guides.store") }}">
<form method="post" action="{{ route("guides.store") }}" enctype="multipart/form-data">
@csrf
<label for="title">Titel guiden</label>
<input type="text" name="name" id="title" required>
@@ -36,6 +36,8 @@
<span class="toggle__text">Opret som nyhed</span>
</span>
</label>
<label id="fileuploadee"for="fileuploade">Baggrundsbillede til nyheden (Valgfri):</label>
<input id="fileuploade" type="file" name="resource">
<input type="submit" class="btn btn-dark text-white" value="Opret">
</form>