@extends('layouts.app') @push('pg_btn') All Users @endpush @section('content')
{!! Form::open(['route' => 'users.store', 'files' => true]) !!}
User information
{{ Form::label('name', 'Name', ['class' => 'form-control-label']) }} {{ Form::text('name', null, ['class' => 'form-control']) }}
{{ Form::label('email', 'E-mail', ['class' => 'form-control-label']) }} {{ Form::email('email', null, ['class' => 'form-control']) }}
{{ Form::label('phone_number', 'Phone number', ['class' => 'form-control-label']) }} {{ Form::text('phone_number', null, ['class' => 'form-control']) }}
{{ Form::label('profile_photo', 'Photo', ['class' => 'form-control-label']) }}
{{ Form::label('role', 'Select Role', ['class' => 'form-control-label']) }} {{ Form::select('role', $roles, null, [ 'class'=> 'selectpicker form-control', 'placeholder' => 'Select role...']) }}

Password information
{{ Form::label('password', 'Password', ['class' => 'form-control-label']) }} {{ Form::password('password', ['class' => 'form-control']) }}
{{ Form::label('password_confirmation', 'Confirm password', ['class' => 'form-control-label']) }} {{ Form::password('password_confirmation', ['class' => 'form-control']) }}

{{ Form::label('status', 'Status', ['class' => 'custom-control-label']) }}
{{ Form::submit('Submit', ['class'=> 'mt-5 btn btn-primary']) }}
{!! Form::close() !!}
@endsection @push('scripts') @endpush