Blame view

resources/views/admin/formatarea/form.blade.php 580 Bytes
d82a28f22   Андрей Ларионов   Админка форматы и...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  @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>