Blame view

resources/views/admin/houses/add_img.blade.php 1.67 KB
f399180fc   Андрей Ларионов   Админка страница ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  @extends('layout.admin', ['title' => 'Добавление картинки офиса'])
  
  @section('content')
      <section class="favorites">
          <div class="favorites-top">
              <div class="container">
                  <div class="breadcrumbs">
                      <ul class="breadcrumbs__list">
                          <li class="breadcrumbs__item"><a class="breadcrumbs__link" href="{{ route('user.index') }}">Главная</a></li>
                          <li class="breadcrumbs__item"><a class="breadcrumbs__link" href="{{ route('admin.houses.index') }}">Офисы </a></li>
                          <li class="breadcrumbs__item"><span class="breadcrumbs__link">Добавление доп.картинки офиса </span></li>
                      </ul>
                  </div>
                  <h1 class="favorites__title title-main">Добавление доп.картинки офиса</h1>
              </div>
          </div>
          <div class="favorites-cnt">
              <div class="container">
                  <h3>Название: {{ $house->title }} ID: ({{ $house->id }})</h3>
                  <form method="post" enctype="multipart/form-data" action="{{ route('admin.add.image.post.houses', ['house' => $house->id]) }}" style="width:100%">
                      @csrf
                      <label for="foto">Файл-картинка:</label>
                      <input type="file" class="form-control-file txt" name="foto" id="foto" accept="image/png, image/jpeg">
  
                      <br><br>
                      <button type="submit" class="btn hero-search__btn btn--main">Сохранить</button>
                  </form>
              </div>
          </div>
      </section>
  @endsection