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

@yield('title')


@if($mode == 'edit') @endif
{{ $__t('A username is required') }}
@if(!GROCY_IS_EMBEDDED_INSTALL && !GROCY_DISABLE_AUTH) @if(!defined('GROCY_EXTERNALLY_MANAGED_AUTHENTICATION')) @if($mode == 'edit')
@endif
{{ $__t('Passwords do not match') }}
@endif @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