@extends('layout.default') @if($mode == 'edit') @section('title', $__t('Edit user')) @else @section('title', $__t('Create user')) @endif @section('viewJsName', 'userform') @section('content')

@yield('title')


@if($mode == 'edit') @endif
{{ $__t('A username is required') }}
@if(!defined('GROCY_EXTERNALLY_MANAGED_AUTHENTICATION'))
{{ $__t('Passwords do not match') }}
@else @endif @include('components.userfieldsform', array( 'userfields' => $userfields, 'entity' => 'users' ))
@if(!empty($user->picture_file_name))

{{ $__t('The current picture will be deleted on save') }}

@else

{{ $__t('No picture available') }}

@endif
@stop