From d64ceaaa73f9053a4787853a7c06758f6af53d65 Mon Sep 17 00:00:00 2001 From: Mateja Date: Sat, 7 Nov 2020 01:02:57 +0100 Subject: Gallery finished... --- resources/views/pages/gallery.blade.php | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'resources') diff --git a/resources/views/pages/gallery.blade.php b/resources/views/pages/gallery.blade.php index 84b8daf..f4462fe 100644 --- a/resources/views/pages/gallery.blade.php +++ b/resources/views/pages/gallery.blade.php @@ -4,7 +4,26 @@ @section('content')
- YOTA camp - YOTA + {{--YOTA camp--}} + {{--YOTA--}} + @if (count($images) > 0) + @foreach ($images as $image) +
+
+
+ {{ $image->name }} +
+ @auth +
+ Delete +
+ @endauth +
+
+ @endforeach + {{ $images->links() }} + @else + There are currently no images in gallery. + @endif
@endsection() -- cgit v1.2.3