applicant-site/resources/views/admin/news/show.blade.php

14 lines
394 B
PHP
Raw Permalink Normal View History

2024-03-20 13:09:39 +03:00
@extends('layouts.admin_layout')
@section('content')
@auth()
<div class="container mt-4">
<h2>Название</h2>
<p>{{ $news->name }}</p>
<h2>Текст</h2>
<p>{{ $news->text }}</p>
<h2>Фото</h2>
<img src="{{ asset($news->photo) }}" alt="фото статьи">
</div>
@endauth
@endsection