Blame view

resources/views/admin/news/edit.blade.php 1.23 KB
3575d19ae   Андрей Ларионов   Админка новости и...
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
  @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.news.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">
                  <form method="post" enctype="multipart/form-data" action="{{ route('admin.news.update', ['news' => $news->id])}}" style="width:100%">
                      @include('admin.news.form')
                  </form>
              </div>
          </div>
      </section>
  @endsection