From 67b6caa875949628f10c57f25c1b9e86c4dd786d Mon Sep 17 00:00:00 2001 From: jk Date: Tue, 22 Jun 2021 11:50:43 +0100 Subject: [PATCH] hops refactor mkI --- resources/views/hops.blade.php | 113 +------------------------- resources/views/hops/create.blade.php | 72 ++++++++++++++++ resources/views/hops/edit.blade.php | 71 ++++++++++++++++ resources/views/hops/index.blade.php | 56 +++++++++++++ routes/web.php | 7 +- 5 files changed, 204 insertions(+), 115 deletions(-) diff --git a/resources/views/hops.blade.php b/resources/views/hops.blade.php index 2eddfd3..9ede88a 100644 --- a/resources/views/hops.blade.php +++ b/resources/views/hops.blade.php @@ -1,117 +1,8 @@ @extends('layouts.app') @section('content') -
-
-
-
-@include('inc.navbar') -
Home -> {{ __('Hop List') }}Go Back
- -
-@if (Auth::user()->isAdmin()) - -
-@endif - - - @include('inc.messages') - - - - - - - - - - - @foreach ($hops as $hop) - - - - - - - @endforeach - -
Hop NameProfileBittering?Aroma?
{{$hop->name}} {{str_replace(' ,',',',str_replace('"',' ',str_replace(',',', ',str_replace('}', '', str_replace('{','',$hop->profile)))))}} @if($hop->bitter == 1) yes @else no @endif @if($hop->aroma == 1) yes @else no @endif
-
-
-
-
-
- -