1
0
Fork 0

resources/views/recipe/show.blade.php: Adding "created item" section

This commit is contained in:
Henrik Hautakoski 2021-07-08 13:32:55 +02:00
parent 3b7f5d1501
commit f52dc72412

View file

@ -9,6 +9,20 @@
<div class="p-4">
@if ($recipe->craft)
<div class="mb-4">
<x-section-heading>
<h2 class="text-3xl">{{ __('Created item') }}</h2>
</x-section-heading>
<p class="px-4 space-y-2 flex">
{{$recipe->craft->name}}
@if ($recipe->craft->external_id)
<x-wowhead class="h-5 w-5 ml-2" id="{{ $recipe->craft->external_id }}" />
@endif
</p>
</div>
@endif
<div class="mb-4">
<x-section-heading>
<h2 class="text-3xl">Reagents</h2>