@extends('layouts.app') @section('title', __('New User')) @section('content')

{{ __('Create a New User') }}

@include('partials/flash_messages')
{{ csrf_field() }} @if (Auth::user()->isAdmin())
@include('partials/field_error', ['field'=>'role'])
@endif
@include('partials/field_error', ['field'=>'first_name'])
@include('partials/field_error', ['field'=>'last_name'])
@action('user.create.before_email')
@include('partials/field_error', ['field'=>'email'])
@if (count($mailboxes))
@foreach ($mailboxes as $mailbox)
@endforeach
@include('partials/field_error', ['field'=>'mailboxes'])
@endif

{{ __("An invite can be sent later if you aren't ready") }}
{{ __('Cancel') }}
@endsection @section('javascript') @parent permissionsInit(); userCreateInit(); @endsection