{{-- Dina uppgifter (DESIGN.md Page patterns 3, simple kind; #2957 slice 6b, card #3020). user.edit is the logged-in user's own profile, and also where a main user edits another user of the company (from Användare); the title, lead and "Avbryt" target follow which of the two it is. The admin edit page (admin.user.edit) is user/editAdmin and keeps the old layout. The statistics box beside the form is gone. --}} @extends('layouts.nuhet') @php $ownProfile = $user->id == Auth::id(); $title = $ownProfile ? __('navigation.user_profile') : __('user.form.edit'); @endphp @section('_pageTitle', __('user.edit.pageTitle')) @section('pagename', $title) @section('page')
{{ $ownProfile ? __('user.nh.profileLead') : __('user.nh.otherLead') }}