Blame view

resources/views/admin/news/edit.blade.php 1.25 KB
d82a28f22   Андрей Ларионов   Админка форматы и...
1
  @extends('layout.admin', ['title' => 'Редактирование новости'])
3575d19ae   Андрей Ларионов   Админка новости и...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  
  @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