@ -22,7 +22,7 @@
</div>
<div class="form-group">
<label for="keywords">Keywords</label>
<textarea type="text" class="form-control" name="keywords"/>{{ $beer->keywords }} </textarea>
<textarea type="text" class="form-control" name="keywords"/>{{str_replace(' ,',',',str_replace('"',' ',str_replace(',',', ',str_replace('}', '', str_replace('{','',$beer->keywords)))))}}</textarea>
<div class="Type">
<label for="type">Style</label>
@ -10,9 +10,7 @@
<div class="card-body">
@if (Auth::user()->isAdmin())
<button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#addModal" type="button" name="button" >
Add Beer
</button>
<a href="{{ route('beers.create') }}" class="btn btn-primary">Add Beer</a>
<hr />
@endif
<table class="table table-striped table-dark" id="table-programs">