<div class="form-group">
    <?php echo Form::label('username', trans('application.username').'*'); ?>
    <?php echo Form::text('username', null, ['class' => 'form-control input-sm', 'required']); ?>
</div>
<div class="form-group">
    <?php echo Form::label('name', trans('application.name').'*'); ?>
    <?php echo Form::text('name', null, ['class' => 'form-control input-sm', 'required']); ?>
</div>
<div class="form-group">
    <?php echo Form::label('email', trans('application.email').'*'); ?>
    <?php echo Form::text('email', null, ['class' => 'form-control input-sm', 'required']); ?>
</div>
<div class="form-group">
    <?php echo Form::label('phone', trans('application.phone')); ?>
    <?php echo Form::text('phone', null, ['class' => 'form-control input-sm']); ?>
</div>
<div class="form-group">
    <?php echo Form::label('role_id', trans('application.role')); ?>
    <?php echo Form::select('role_id', $roles_select, null, ['class' => 'input-sm form-control', 'required']); ?>
</div>
<div class="form-group">
    <?php echo Form::label('password', trans('application.password')); ?>
    <?php echo Form::password('password', ['class' => 'form-control input-sm', isset($user) ? '' : 'required']); ?>
</div>
<div class="form-group">
    <?php echo Form::label('password_confirmation', trans('application.confirm_password')); ?>
    <?php echo Form::password('password_confirmation', ['class' => 'form-control input-sm', isset($user) ? '' : 'required']); ?>
</div>