|
|
@ -31,8 +31,8 @@ |
|
|
|
<tr> |
|
|
|
<td><a href="/hop/{{$hop->id}}">{{$hop->name}}</a> </td> |
|
|
|
<td>{{str_replace(' ,',',',str_replace('"',' ',str_replace(',',', ',str_replace('}', '', str_replace('{','',$hop->profile)))))}} </td> |
|
|
|
<td>@if($hop->bitter == 1) yes @else no @endif </td> |
|
|
|
<td>@if($hop->aroma == 1) yes @else no @endif </td> |
|
|
|
<td>@if($hop->bitter == 1) yes @else no @endif </td> |
|
|
|
<td>@if($hop->aroma == 1) yes @else no @endif </td> |
|
|
|
@if (Auth::user()->isAdmin()) |
|
|
|
<td><a href="{{ route('hops.edit',$hop->id)}}" class="btn btn-primary">Edit</a></td> |
|
|
|
<td><form action="{{ route('hops.destroy', $hop->id)}}" method="post"> |
|
|
@ -41,9 +41,7 @@ |
|
|
|
<button class="btn btn-danger" type="submit">Delete</button> |
|
|
|
</form></td> |
|
|
|
@endif |
|
|
|
</tr> |
|
|
|
@endforeach |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
@endforeach |
|
|
|
</tbody> |
|
|
|
</table> |
|
|
|