aboutsummaryrefslogtreecommitdiff
path: root/resources/views/pages/news-admin.blade.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-07 01:41:03 +0100
committerMateja <mail@matejamaric.com>2020-11-07 01:41:03 +0100
commit3ff7e365c4aedbc47d642a07181cae45269a329d (patch)
tree1a340a7b6271d1dc54b6c781ed5ca96d5f234b19 /resources/views/pages/news-admin.blade.php
parentfe6e62f3de62cde07f696738146e15af9483d8e8 (diff)
downloadyota-laravel-3ff7e365c4aedbc47d642a07181cae45269a329d.tar.gz
yota-laravel-3ff7e365c4aedbc47d642a07181cae45269a329d.zip
Better news. I should implement url()->previous();
Gallery doesn't delete from storage...
Diffstat (limited to 'resources/views/pages/news-admin.blade.php')
-rw-r--r--resources/views/pages/news-admin.blade.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/resources/views/pages/news-admin.blade.php b/resources/views/pages/news-admin.blade.php
index 55c94e6..67e64ad 100644
--- a/resources/views/pages/news-admin.blade.php
+++ b/resources/views/pages/news-admin.blade.php
@@ -5,28 +5,6 @@
@section('navbar', View::make('inc.navbar'))
@section('content')
- <h3>News Administration:</h3>
- @if (session('statusE'))
- <div class="alert alert-success">
- {{ session('statusE') }}
- </div>
- @endif
- @if (count($data) > 0)
- <div class="p-0 mt-3 col-lg-6 table-responsive">
- <table class="table table-bordered">
- @foreach ($data as $row)
- <tr>
- <td class="align-middle">{{ $row->title }}</td>
- <td><a href="{{ route('newsEdit', $row->id) }}" class="btn btn-warning">Edit</a></td>
- <td><a href="{{ route('newsDelete', $row->id) }}" class="btn btn-danger">Delete</a></td>
- </tr>
- @endforeach
- </table>
- </div>
- @else
- <strong>There are currently no callsigns.</strong>
- @endif
-
<h3 class="mt-4">Add Post:</h3>
@if (session('status'))
<div class="alert alert-success">