form.blade.php
580 Bytes
@csrf
@isset($formatarea)
@method('PUT')
@endisset
<label for="name_format">Формат недвижимости: <span class="req">*</span></label>
@error('name_format')
<div class="alert alert-danger">{{ $message }}</div>
@enderror
<br>
<input type="text" class="form-control_ txt" name="name_format" placeholder="Формат недвижимости"
required maxlength="100" style="width: 60%" value="{{ old('name_format') ?? $formatarea->name_format ?? '' }}"><br>
<br>
<button type="submit" class="btn hero-search__btn btn--main">Сохранить</button>