@extends('layouts.admin') {{--@section('title', $category->name ?? 'Curse')--}} @section('title', $category->name) @section('actions') {{-- --}} {{-- --}} {{-- sortare featured--}} {{-- --}} @if (!$category || $category && $category->canCreateArticles()) adauga @endif @endsection @section('content')
{{-- --}} @if ($category && $category->canCreateArticles()) {{-- --}} @endif @foreach ($articles as $article) {{-- --}} @if ($category && $category->canCreateArticles()) {{-- --}} @endif @endforeach
# {{-- --}} {{-- --}} Titlu An Data incepere Distanta Varsta min OrdineCategorieVizibil pe Home--}} {{-- --}} {{-- --}} {{-- Stare Action
@if ($article->photo) @endif {{ $article->title }}
{{$article->subtitle}}
{{--

--}} {{-- --}} {{-- Scris de {{$article->user ? $article->user->getName() : 'sters'}}--}} {{-- la {{$article->created_at}}--}} {{-- --}} {{--

--}}
{{$article->year}} {{$article->starting_at}} {{$article->distance}} {{$article->minimum_age}} {{$article->priority}} --}} {{-- {{$article->category->name}}--}} {{-- --}} {{-- --}} {{-- {{$article->is_featured ? 'da' : 'nu'}}--}} {{-- --}} {{-- {{$article->status}}
@if ($article->isPending())
@csrf @method('PUT')
@endif
@if (!$article->isPage()) {{ method_field('DELETE' ) }} {{ csrf_field() }} @endif vezi edit @if (!$article->isPage()) @endif
    {{$articles->links('vendor.pagination.bootstrap')}}
    @endsection