<?php $__env->startSection('title'); ?> <?php echo trans('website.labels.registration'); ?> - <?php echo Config::get('website.title'); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('container'); ?> <div class="row"> <div class="col-xs-12 registration"> <h1><?php echo trans('website.labels.create-new-account'); ?></h1> <?php echo Form::horizontal(['route' => 'registration', 'secure' => true]); ?> <div class="row"> <div class="col-xs-12"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title text-uppercase"><?php echo trans('website.labels.registration'); ?></h3> </div> <div class="panel-body padding"> <?php if($errors->count()): ?> <?php foreach($errors->all() as $error): ?> <?php echo Alert::warning($error)->close(); ?> <?php endforeach; ?> <?php endif; ?> <?php echo $__env->make('website.user.partials.personal-information', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <div class="row"> <div class="col-xs-12"> <hr size="1"> </div> </div> <?php echo $__env->make('website.user.partials.billing-information', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <div class="row"> <div class="col-xs-12"> <hr size="1"> </div> </div> <?php echo $__env->make('website.user.partials.corporate-information', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <div class="row"> <div class="col-xs-12"> <hr size="1"> </div> </div> <?php echo $__env->make('website.user.partials.shipment-information', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> </div> </div> </div> </div> <div class="row"> <div class="pull-left back"> <i class="glyphicon glyphicon-chevron-left"></i> <?php echo HTML::linkRoute('home', trans('website.labels.back')); ?> </div> <div class="pull-right"> <div class="proceed"> <?php echo Button::accept(trans('website.buttons.create-account'))->large()->submit(); ?> </div> </div> </div> <?php echo Form::close(); ?> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> @parent $('form input[name=corporate_information_hide]').on('change', function(event) { var checked = $(this).is(':checked'); if (checked) $('form .corporate-information').slideUp(); else $('form .corporate-information').slideDown(); }); $('form input[name=billing_shipment_equal]').on('change', function(event) { var checked = $(this).is(':checked'); if (checked) $('form .shipment-information').slideUp(); else $('form .shipment-information').slideDown(); }); $('form input[name=corporate_information_hide]').trigger('change'); $('form input[name=billing_shipment_equal]').trigger('change'); <?php $__env->stopSection(); ?>