This commit is contained in:
Денис Хорош 2023-05-17 10:45:46 +03:00
parent 85d4247d0b
commit 0a17ed72a5

View File

@ -27,7 +27,7 @@
<div class="mb-3">
<label class="form-label">Картинка карточки:</label>
<input type="file" name="card_image" class="form-control" placeholder="Картинка карточки"
value="{{$project->card_image ?? ''}}"><img src="{{'/uploads/images/'.$project->card_image ?? ''}}"></span>
value="{{$project->card_image ?? ''}}"><img src="/uploads/images/{{$project->card_image ?? ''}}">
@error('card_image')
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
@enderror
@ -35,7 +35,7 @@
<div class="mb-3">
<label class="form-label">Фоновая картинка:</label>
<input type="file" name="background_image" class="form-control" placeholder="Фоновая картинка"
value="{{$project->background_image ?? ''}}">
value="{{$project->background_image ?? ''}}"><img src="/uploads/images/{{$project->background_image ?? ''}}">
@error('background_image')
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
@enderror
@ -43,7 +43,7 @@
<div class="mb-3">
<label class="form-label">Логотип:</label>
<input type="file" name="logo" class="form-control" placeholder="Логотип"
value="{{$project->logo ?? ''}}">
value="{{$project->logo ?? ''}}"><img src="/uploads/images/{{$project->logo ?? ''}}">
@error('logo')
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
@enderror
@ -74,7 +74,7 @@
<div class="mb-3">
<label class="form-label">Фото двора:</label>
<input type="file" name="yard_image" class="form-control" placeholder="Фото двора"
value="{{$project->yard_image ?? ''}}">
value="{{$project->yard_image ?? ''}}"><img src="/uploads/images/{{$project->yard_image ?? ''}}">
@error('yard_image')
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
@enderror
@ -82,7 +82,7 @@
<div class="mb-3">
<label class="form-label">Фото вестибюля:</label>
<input type="file" name="hall_image" class="form-control" placeholder="Фото вестибюля"
value="{{$project->hall_image ?? ''}}">
value="{{$project->hall_image ?? ''}}"><img src="/uploads/images/{{$project->hall_image ?? ''}}">
@error('hall_image')
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
@enderror