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')
-
-
+
+@yield('main')
-
-
-
@endsection
diff --git a/resources/views/hops/create.blade.php b/resources/views/hops/create.blade.php
index e69de29..8fab235 100644
--- a/resources/views/hops/create.blade.php
+++ b/resources/views/hops/create.blade.php
@@ -0,0 +1,72 @@
+@extends('hops')
+
+@section('main')
+
+@endsection
diff --git a/resources/views/hops/edit.blade.php b/resources/views/hops/edit.blade.php
index e69de29..067ab9b 100644
--- a/resources/views/hops/edit.blade.php
+++ b/resources/views/hops/edit.blade.php
@@ -0,0 +1,71 @@
+@extends('hops')
+@section('main')
+@endsection
diff --git a/resources/views/hops/index.blade.php b/resources/views/hops/index.blade.php
index e69de29..fc599a1 100644
--- a/resources/views/hops/index.blade.php
+++ b/resources/views/hops/index.blade.php
@@ -0,0 +1,56 @@
+@extends('layouts.app')
+
+@section('content')
+
+
+
+
+@include('inc.navbar')
+
+
+
+@if (Auth::user()->isAdmin())
+
Add Hop
+
+@endif
+
+
+ @include('inc.messages')
+
+
+ Hop Name |
+ Profile |
+ Bittering? |
+ Aroma? |
+
+ @if (Auth::user()->isAdmin())Admin | @endif
+
+
+
+ @foreach ($hops as $hop)
+
+ {{$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 |
+ @if (Auth::user()->isAdmin())
+ Edit |
+ |
+ @endif
+
+@endforeach
+
+ @endforeach
+
+
+
+
+
+
+
+
+@endsection
diff --git a/routes/web.php b/routes/web.php
index b47ed7f..0828717 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -25,10 +25,10 @@ Route::any('/register', function() {
Route::resource('breweries', 'App\Http\Controllers\BrewerieController');
Route::resource('beers', 'App\Http\Controllers\SummarieController');
Route::resource('grains', 'App\Http\Controllers\GrainController');
+Route::resource('hops', 'App\Http\Controllers\HopController');
Route::get('/home', [App\Http\Controllers\SummarieController::class, 'index'])->name('home');
Route::get('/adjuncts', [App\Http\Controllers\AdjunctController::class, 'index'])->name('adjuncts');
-//Route::get('/grains', [App\Http\Controllers\GrainController::class, 'index'])->name('grains');
-Route::get('/hops', [App\Http\Controllers\HopController::class, 'index'])->name('hops');
+//Route::get('/hops', [App\Http\Controllers\HopController::class, 'index'])->name('hops');
Route::get('/yeasts', [App\Http\Controllers\YeastController::class, 'index'])->name('yeasts');
Route::get('/fermentations', [App\Http\Controllers\FermentationController::class, 'index'])->name('fermentations');
Route::get('/grainbills', [App\Http\Controllers\GrainbillController::class, 'index'])->name('grainbills');
@@ -41,8 +41,7 @@ Route::get('/grain/{grainID}', [App\Http\Controllers\GraincardController::class,
Route::get('/yeast/{yeastID}', [App\Http\Controllers\YeastcardController::class, 'index'])->name('yeast');
Route::get('/hop/{hopID}', [App\Http\Controllers\HopcardController::class, 'index'])->name('hop');
Route::get('/adjunct/{adjunctID}', [App\Http\Controllers\AdjunctcardController::class, 'index'])->name('adjunct');
-//Route::post('/grains', [App\Http\Controllers\GrainController::class, 'store'])->name('grains.store');
-Route::post('/hops', [App\Http\Controllers\HopController::class, 'store'])->name('hops.store');
+//Route::post('/hops', [App\Http\Controllers\HopController::class, 'store'])->name('hops.store');
Route::post('/yeasts', [App\Http\Controllers\YeastController::class, 'store'])->name('yeasts.store');
Route::post('/adjuncts', [App\Http\Controllers\AdjunctController::class, 'store'])->name('adjuncts.store');
Route::post('/grainbills', [App\Http\Controllers\GrainbillController::class, 'store'])->name('grainbills.store');