<?php $__env->startSection('content'); ?>

<div class="row no-gutters justify-content-center ">
    <div class="hero-static col-sm-8 col-md-8 col-xl-8 d-flex align-items-center px-sm-0">

        <div class="col-md-12 col-xl-10" style="margin: 0 auto;">
            <div class="row no-gutters">
                <div class="col-md-6 order-md-1 bg-white">
                    <div class="block-content block-content-full px-lg-5 py-md-5 py-lg-6">
                        <!-- Header -->
                        <div class="mb-2 text-center">
                            <p> <?php echo $__env->make('common.logo', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?></p>
                            <p class="text-uppercase font-w700 font-size-sm text-muted"> <?php echo e(__('dcm.new_account')); ?> </p>
                        </div>
                        <!-- END Header -->

                        <!-- Sign In Form -->
                        <form  action="<?php echo e($url); ?>" method="POST">

                            <?php if(session('error.message') ): ?>
                                <div class="form-group">
                                    <span class="text-danger"><?php echo e(session('error.message')); ?></span>
                                </div>
                            <?php endif; ?>
                            <?php echo csrf_field(); ?>
                            <div class="form-group">
                                <input type="text" class="form-control form-control-alt <?php echo e($errors->has('username') ? ' is-invalid' : ''); ?>"  id="username-username" name="username" placeholder="<?php echo e(__('dcm.username_placeholder')); ?>">
                                <?php echo $errors->first('username', '<span class="text-danger">:message</span>'); ?>

                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control form-control-alt <?php echo e($errors->has('email') ? ' is-invalid' : ''); ?>"  id="email-email" name="email" placeholder="<?php echo e(__('dcm.email_placeholder')); ?>">
                                <?php echo $errors->first('email', '<span class="text-danger">:message</span>'); ?>

                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control form-control-alt <?php echo e($errors->has('first_name') ? ' is-invalid' : ''); ?>"  id="first_name-first_name" name="first_name" placeholder="<?php echo e(__('dcm.firstname_placeholder')); ?>">
                                <?php echo $errors->first('first_name', '<span class="text-danger">:message</span>'); ?>

                            </div>
                            <div class="form-group">
                                <input type="text" class="form-control form-control-alt <?php echo e($errors->has('last_name') ? ' is-invalid' : ''); ?>"  id="last_name-last_name" name="last_name" placeholder="<?php echo e(__('dcm.lastname_placeholder')); ?>">
                                <?php echo $errors->first('last_name', '<span class="text-danger">:message</span>'); ?>

                            </div>
                            <div class="form-group">
                                <input type="password" class="form-control form-control-alt <?php echo e($errors->has('password') ? ' is-invalid' : ''); ?>" id="password" name="password" placeholder="<?php echo e(__('dcm.password_placeholder')); ?>">
                                <?php echo $errors->first('password', '<span class="text-danger">:message</span>'); ?>

                            </div>
                            <div class="form-group">
                                <button type="submit" class="btn btn-block btn-hero-primary">
                                    <i class="fas fa-plus mr-1"></i> <?php echo e(__('dcm.sign_up')); ?>

                                </button>
                            </div>
                            <hr/>
                            <div class="form-group">
                                <p class="mt-3 mb-0 d-lg-flex justify-content-lg-between">
                                    <a class="btn btn-secondary btn-block d-block d-lg-inline-block mb-1" href="<?php echo e(route('web.user.index')); ?>" title="<?php echo e(__('dcm.sign_in')); ?>">
                                        <i class="fa fa-fw fa-sign-in-alt mr-1"></i> <?php echo e(__('dcm.sign_in')); ?>

                                    </a>
                                </p>
                            </div>
                        </form>
                        <!-- END Sign In Form -->
                    </div>
                </div>
                <div class="col-md-6 order-md-0 bg-primary-dark-op d-flex align-items-center">
                    <div class="block-content block-content-full px-lg-5 py-md-5 py-lg-6">
                        <div class="media">
                            <div class="media-body">
                                <p class="text-white font-w600 mb-1">
                                    <?php echo e(__('dcm.welcome_label')); ?>

                                </p>
                                <a class="text-white-75 font-w600" href="javascript:void(0)"> <?php echo e(__('dcm.have_a_question')); ?></a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>
<?php $__env->stopSection(); ?>


<?php $__env->startPush('javascript'); ?>

<?php $__env->stopPush(); ?>

<?php echo $__env->make( "layouts.master-login", \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>