<?php $__env->startSection('content'); ?>
<div class="tp-page-head"><!-- page header -->
  <div class="container">
    <div class="row">
      <div class="col-md-offset-2 col-md-8">
        <div class="page-header text-center">
          <div class="icon-circle">
              <i class="icon icon-size-60 icon-curtains icon-white"></i>
          </div>
          <h1>Are you Supplier - Start Business</h1>
          <p>Wedding Vendor works with thousands of wedding vendors worldwide.</p>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="tp-breadcrumb">
  <div class="container">
    <div class="row">
      <div class="col-md-8">
        <ol class="breadcrumb">
          <li><a href="#">Acasa</a></li>
          <li class="active">Inregistrare cuplu</li>
        </ol>
      </div>
    </div>
  </div>
</div>
<div class="main-container">
  <div class="container">
    <div class="row">
      <div class="col-md-7">
        <div class="well-box">
          <?php echo $__env->make('user._partials.errors', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
          <form class="form-horizontal" role="form" method="POST" action="<?php echo e(route('auth.register.post')); ?>">
              <input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">
              <input type="hidden" name="uid" value="<?php echo e(old('uid', null)); ?>">
              <input type="hidden" name="social_token" value="<?php echo e(old('social_token', null)); ?>">
              <input type="hidden" name="social_token_secret" value="<?php echo e(old('social_token_secret', null)); ?>">
              <input type="hidden" name="social_name" value="<?php echo e(old('social_name', null)); ?>">
              <input type="hidden" name="social_email" value="<?php echo e(old('social_email', null)); ?>">
              <input type="hidden" name="provider" value="<?php echo e(old('provider', null)); ?>">
              <input type="hidden" name="social" value="<?php echo e((int) old('social', '0')); ?>">
              <input type="hidden" name="use_password" value="1">
              <fieldset>
                  <legend>Inregistrare cuplu</legend>
                  <?php if((bool) old('social', false) == true): ?>
                      <div class="form-group <?php if($errors->has('name')): ?> has-error <?php endif; ?>">
                          <label class="control-label"><?php echo e(trans('auth.views.register.form.user.provider')); ?></label>
                              <?php echo $__env->make('auth._partials.provider_' . old('provider'), array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                      </div>
                  <?php endif; ?>

                  <div class="form-group">
                    <div class="col-md-6 padding-left <?php if($errors->has('name_she')): ?> has-error <?php endif; ?>">
                      <label class="control-label">Nume EA*</label>
                        <input type="text" class="form-control" name="name_she" value="<?php echo e(old('name_she')); ?>">
                    </div>
                    <div class="col-md-6 padding-right <?php if($errors->has('name_he')): ?> has-error <?php endif; ?>">
                      <label class="control-label">Nume EL*</label>
                        <input type="text" class="form-control" name="name_he" value="<?php echo e(old('name_he')); ?>">
                    </div>
                  </div>

                  <div class="form-group <?php if($errors->has('email')): ?> has-error <?php endif; ?>">
                      <label class="control-label">E-mail*</label>
                      <input type="email" class="form-control" name="email" value="<?php echo e(old('email')); ?>">
                  </div>

                  <?php if((bool) old('social', false) == true): ?>
                      <div class="form-group <?php if($errors->has('use_password')): ?> has-error <?php endif; ?>">
                          <div class="col-md-6 col-md-push-4">
                              <div class="checkbox">
                                  <label>
                                      <input type="hidden" name="use_password" value="0">
                                      <input type="checkbox" id="checkUsePassword" name="use_password" value="1" <?php if(old('use_password') == '1'): ?> checked <?php endif; ?> > <?php echo e(trans('auth.views.register.form.user.use_password')); ?>

                                  </label>
                              </div>
                          </div>
                      </div>
                  <?php endif; ?>

                  <div id="passwordDetails" <?php if((bool) old('use_password', true) == false): ?> class="hidden" <?php endif; ?>>
                      <div class="form-group <?php if($errors->has('password')): ?> has-error <?php endif; ?>">
                          <label class="control-label">Parola*</label>
                          <input type="password" class="form-control" name="password">
                      </div>

                      <div class="form-group <?php if($errors->has('password_confirmation')): ?> has-error <?php endif; ?>">
                          <label class="control-label">Confirmare parola*</label>
                          <input type="password" class="form-control" name="password_confirmation">
                      </div>
                  </div>
              </fieldset>

            <div class="form-group">
                <div class="col-md-6 col-md-offset-4">
                    <button type="submit" class="btn btn-primary">
                        Inregistrare
                    </button>
                </div>
            </div>
            </form>
        </div>
      </div>
      <div class="col-md-5">
        <div class="row">
          <div class="col-md-12">
            <div class="feature-block feature-left">
              <?php if(config('social.facebook.enabled') || config('social.twitter.enabled') || config('social.google.enabled')): ?>
              <div class="well-box social-login">
                  <?php if(config('social.facebook.enabled')): ?>
                  <?php if((bool) old('social', false) == false): ?>
                  <a href="<?php echo e(route('auth.register.provider', 'facebook')); ?>" class="btn facebook-btn"><i class="fa fa-facebook-square"></i>Facebook</a>
                  <?php endif; ?>
                  <?php if(config('social.twitter.enabled')): ?>
                  <a href="<?php echo e(route('auth.register.provider', 'twitter')); ?>" class="btn twitter-btn"><i class="fa fa-twitter-square"></i>Twitter</a>
                  <?php endif; ?>
                  <?php if(config('social.google.enabled')): ?>
                  <a href="<?php echo e(route('auth.register.provider', 'google')); ?>" class="btn google-btn"><i class="fa fa-google-plus-square"></i>Google+</a>
                  <?php endif; ?>
                  <?php endif; ?>
              </div>
              <?php endif; ?>
            </div>
          </div>
        </div>
      </div>
    </div>
    </div>
  </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>