hotfix
This commit is contained in:
parent
fda632f9a7
commit
85d4247d0b
@ -1,6 +1,6 @@
|
|||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label class="form-label">id Региона</label>
|
<label class="form-label">id Региона</label>
|
||||||
<select class="form-select" name="country_id">
|
<select class="form-select" name="region_id">
|
||||||
<option>Выбрать регион</option>
|
<option>Выбрать регион</option>
|
||||||
@foreach($regions as $region)
|
@foreach($regions as $region)
|
||||||
<option value="{{$region->id}}" {{isset($project) && $project->region_id == $region->id ? 'selected' : ''}}>{{$region->id}}</option>
|
<option value="{{$region->id}}" {{isset($project) && $project->region_id == $region->id ? 'selected' : ''}}>{{$region->id}}</option>
|
||||||
@ -27,7 +27,7 @@
|
|||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label class="form-label">Картинка карточки:</label>
|
<label class="form-label">Картинка карточки:</label>
|
||||||
<input type="file" name="card_image" class="form-control" placeholder="Картинка карточки"
|
<input type="file" name="card_image" class="form-control" placeholder="Картинка карточки"
|
||||||
value="{{$project->card_image ?? ''}}"><img src="/uploads/images/{{$project->card_image ?? ''}}">
|
value="{{$project->card_image ?? ''}}"><img src="{{'/uploads/images/'.$project->card_image ?? ''}}"></span>
|
||||||
@error('card_image')
|
@error('card_image')
|
||||||
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
|
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
|
||||||
@enderror
|
@enderror
|
||||||
@ -35,7 +35,7 @@
|
|||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label class="form-label">Фоновая картинка:</label>
|
<label class="form-label">Фоновая картинка:</label>
|
||||||
<input type="file" name="background_image" class="form-control" placeholder="Фоновая картинка"
|
<input type="file" name="background_image" class="form-control" placeholder="Фоновая картинка"
|
||||||
value="{{$project->background_image ?? ''}}"><img src="/uploads/images/{{$project->background_image ?? ''}}">
|
value="{{$project->background_image ?? ''}}">
|
||||||
@error('background_image')
|
@error('background_image')
|
||||||
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
|
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
|
||||||
@enderror
|
@enderror
|
||||||
@ -43,7 +43,7 @@
|
|||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label class="form-label">Логотип:</label>
|
<label class="form-label">Логотип:</label>
|
||||||
<input type="file" name="logo" class="form-control" placeholder="Логотип"
|
<input type="file" name="logo" class="form-control" placeholder="Логотип"
|
||||||
value="{{$project->logo ?? ''}}"><img src="/uploads/images/{{$project->logo ?? ''}}">
|
value="{{$project->logo ?? ''}}">
|
||||||
@error('logo')
|
@error('logo')
|
||||||
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
|
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
|
||||||
@enderror
|
@enderror
|
||||||
@ -74,7 +74,7 @@
|
|||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label class="form-label">Фото двора:</label>
|
<label class="form-label">Фото двора:</label>
|
||||||
<input type="file" name="yard_image" class="form-control" placeholder="Фото двора"
|
<input type="file" name="yard_image" class="form-control" placeholder="Фото двора"
|
||||||
value="{{$project->yard_image ?? ''}}"><img src="/uploads/images/{{$project->yard_image ?? ''}}">
|
value="{{$project->yard_image ?? ''}}">
|
||||||
@error('yard_image')
|
@error('yard_image')
|
||||||
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
|
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
|
||||||
@enderror
|
@enderror
|
||||||
@ -82,7 +82,7 @@
|
|||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label class="form-label">Фото вестибюля:</label>
|
<label class="form-label">Фото вестибюля:</label>
|
||||||
<input type="file" name="hall_image" class="form-control" placeholder="Фото вестибюля"
|
<input type="file" name="hall_image" class="form-control" placeholder="Фото вестибюля"
|
||||||
value="{{$project->hall_image ?? ''}}"><img src="/uploads/images/{{$project->hall_image ?? ''}}">
|
value="{{$project->hall_image ?? ''}}">
|
||||||
@error('hall_image')
|
@error('hall_image')
|
||||||
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
|
<div class="alert alert-danger mt-1 mb-1">{{ $message }}</div>
|
||||||
@enderror
|
@enderror
|
||||||
|
Loading…
Reference in New Issue
Block a user