leenooks/resources/components/form/email.blade.php

3 lines
244 B
PHP
Raw Normal View History

<x-leenooks::form.base {{ $attributes }}>
<input type="email" class="form-control {{ $classes ?? ''}}@error($name) is-invalid @enderror" id="{{ $id ?? $name }}" name="{{ $name }}" value="{{ old($name,$value ?? "") }}">
</x-leenooks::form.base>