Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

spatie/spatie.be

493 stars
2 code files
View spatie/spatie.be on GitHub

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>

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.