@inject('roles', 'App\Entities\Users\Role') @extends('layouts.dashboard') @section('title', trans('user.create')) @section('content-dashboard')
{!! Form::open(['route'=>'users.store']) !!}

{{ trans('user.create') }}

{!! FormField::text('name', ['label' => trans('app.name')]) !!} {!! FormField::email('email', ['label' => trans('user.email')]) !!} {!! FormField::checkboxes('role', $roles::toArray(), ['label' => trans('user.role')]) !!} {!! FormField::password('password', [ 'label' => trans('auth.password'), 'info' => [ 'text' => __('user.create_password_info'), 'class' => 'info', ], ]) !!}
{!! Form::close() !!}
@endsection @section('script') @endsection