Мой блог

{{ __('recipe.adding') }}

{{ __('recipe.title') }}
{{ __('recipe.type') }}
{{ __('recipe.picture') }}
Тип записи
{{ __('recipe.cooking_time') }}
{{ __('recipe.record_state') }}
@if(!empty($ingredients))
@foreach($ingredients as $ingredient) @endforeach
{{ __('recipe.name_of_product')}} {{ __('recipe.portion')}} {{ __('recipe.units')}}
{{ $ingredient['name'] }} {{ $ingredient['portion'] }} {{ __('recipe.' . $ingredient['unit']) }}
@endif
{{ __('recipe.content') }}
@php $stepsCount = count($steps); @endphp @for($i = 0; $i < $stepsCount; $i++)
{{ __('recipe.step') }} {{ $i + 1 }} @if($i == 0) {{ __('recipe.total_steps') }}: {{ $stepsCount }} @endif
@endfor
{{ __('recipe.tags') }}
{{ __('recipe.video_link') }}
{{--
@php $lastIngedient = count($ingredients) - 1; @endphp @foreach($ingredients as $k => $ingredient)
@endforeach
{{ __('recipe.tags') }}
{{ __('recipe.video_link') }}
--}}
@foreach ($errors->all() as $message)
{{ $message }}
@endforeach