@component('backoffice._components.tab', ['item' => 'Content', 'active' => true])
@if(! $model->id) {{ html()->alert('info', "After saving this user, we'll send them an e-mail with instructing them to set their password.") }} @endif {{ html()->horizontalFormGroup()->required()->text('name', 'Name') }} {{ html()->horizontalFormGroup()->required()->email('email', 'E-mail') }}
@if($model->isCurrentUser())
{{ html()->alert('info', 'Please enter the fields below if you want to change the password.') }} {{ html()->horizontalFormGroup()->password('password', 'Password') }} {{ html()->horizontalFormGroup()->password('password_confirmation', 'Password (confirmation)') }}
@endif @endcomponent