@extends('layouts.main') @section('title', 'User Management') @section('breadcrumb')

User Management

@endsection @section('content')
@include('flash::message')

Edit User

{{ csrf_field() }}
{!! Form::select('positions[]', $positionList, $contactPositions, [ 'id' => 'positions', 'class' => 'form-control', /* 'multiple' => 'multiple', 'size' => '8',*/ 'placeholder' => 'Select Position', 'required' => true, ]) !!}

Personal Info

@if ($errors->has('firstname')) {{ $errors->first('firstname') }} @endif
@if ($errors->has('lastname')) {{ $errors->first('lastname') }} @endif
@if ($user->registered_via_sso) {{ $user->email }} @else @endif @if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
@if ($errors->has('title')) {{ $errors->first('title') }} @endif

Address

@if ($errors->has('street')) {{ $errors->first('street') }} @endif
@if ($errors->has('city')) {{ $errors->first('city') }} @endif
@if ($errors->has('country_id')) {{ $errors->first('country_id') }} @endif
@if ($errors->has('state_id')) {{ $errors->first('state_id') }} @endif
@if ($errors->has('zip')) {{ $errors->first('zip') }} @endif

Security

@if ($user->registered_via_sso) {{ $user->name }} @else @endif @if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if (!$user->registered_via_sso) @if ($user->id == auth()->id())
@if ($errors->has('passphrase')) {{ $errors->first('passphrase') }} @endif
@endif @endif
@if (!$user->registered_via_sso) @endif

Company

@if ($errors->has('companyName')) {{ $errors->first('companyName') }} @endif
@if ($errors->has('role')) {{ $errors->first('role_id') }} @endif
@if ($errors->has('status_id')) {{ $errors->first('status_id') }} @endif
@endsection @section('footer_scripts') @endsection