@if(config('prompts.prompts'))
@foreach(config('prompts.prompts') as $action => $prompt)
@if($action == 'divider')
@else
@if(isset($prompt['hasSub']) && $prompt['hasSub'] && (($action == 'translate' && count($languages['all'] ?? []) > 1) || $action != 'translate'))
-
@if($action == 'translate' && count($languages['all'] ?? []) > 1)
@foreach ($languages['all'] as $language)
@endforeach
@elseif($action != 'translate')
@foreach ($prompt['templates'] as $subAction => $subPrompt)
@endforeach
@endif
@else
-
@endif
@endif
@endforeach
@endif