-
resources/views/components/label.blade.php
Open in GitHub<label class="font-semibold text-sm opacity-75" {{ $attributes }}> {{ $slot }} </label>
-
resources/views/front/profile/profile.blade.php
Open in GitHub<x-field> <x-label for="name">Your name</x-label> <input class="form-input" type="text" name="name" id="name" value="{{ old('name', auth()->user()->name) }}"> @error('name') <div class="text-pink-dark">{{ $message }}</div> @enderror </x-field> <x-field> <x-label for="email">Your email</x-label> <input class="form-input" type="email" name="email" id="email" value="{{ old('email', auth()->user()->email) }}"> @error('email') <div class="text-pink-dark">{{ $message }}</div> @enderror </x-field>