pedi3/resources/views/components/input-error.blade.php

6 lines
128 B
PHP

@props(['for'])
@error($for)
<p {{ $attributes->merge(['class' => 'text-sm text-red-600']) }}>{{ $message }}</p>
@enderror