resources/views/recipe/show.blade.php: Adding "created item" section
This commit is contained in:
parent
3b7f5d1501
commit
f52dc72412
1 changed files with 14 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue