@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('Username') }}
{{ $__t('A username is required') }}
{{ $__t('First name') }}
{{ $__t('Last name') }}
@if(!GROCY_IS_EMBEDDED_INSTALL && !GROCY_DISABLE_AUTH) @if(!defined('GROCY_EXTERNALLY_MANAGED_AUTHENTICATION')) @if($mode == 'edit')
{{ $__t('Change password') }}
@endif
{{ $__t('Password') }}
{{ $__t('Confirm password') }}
{{ $__t('Passwords do not match') }}
@endif @else
@endif @include('components.userfieldsform', array( 'userfields' => $userfields, 'entity' => 'users' ))
{{ $__t('Save') }}
{{ $__t('Picture') }}
{{ $user->picture_file_name }}
{{ $__t('No file selected') }}
@if(!empty($user->picture_file_name))
{{ $__t('The current picture will be deleted on save') }}
@else
{{ $__t('No picture available') }}
@endif
@stop