mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
Update Picture to S3
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<h4>Ajouter une images</h4>
|
||||
</div>
|
||||
<div class="card-body mt-5">
|
||||
<form action="/admin/picture/edit/{{$picture->id}}" method="post">
|
||||
<form action="/admin/picture/edit/{{$picture->id}}" method="post" enctype="multipart/form-data">
|
||||
|
||||
@csrf
|
||||
|
||||
@@ -18,9 +18,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
<div class="form-group">
|
||||
<label>URL de l'image</label>
|
||||
<input name="url" type="text" class="form-control" value="{{$picture->url}}">
|
||||
<div class="form-group bmd-form-group is-filled">
|
||||
<label class="label-control bmd-label-static">Choisir l'image</label>
|
||||
<div class="fileinput fileinput-new input-group" data-provides="fileinput" style="display: flex !important;">
|
||||
<div class="form-control" data-trigger="fileinput">
|
||||
<span class="fileinput-filename"></span>
|
||||
</div>
|
||||
<span class="input-group-append"><span class="input-group-text fileinput-exists cursor" data-dismiss="fileinput">Remove</span><span class="input-group-text btn-file"><span class="fileinput-new cursor">Select file</span><span class="fileinput-exists cursor">Change</span><input type="file" name="file" accept="image/*"></span></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
|
||||
Reference in New Issue
Block a user