<div class="row"> <div class="col-xs-12 col-sm-8 col-md-6"> <?php if(session()->has('template_updated')): ?> <div class="alert alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <strong><?php echo e(session('template_updated')); ?></strong> </div> <?php endif; ?> <?php echo $__env->make('includes.form_errors', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php if(session()->has('template_not_updated')): ?> <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> <?php echo e(session('template_not_updated')); ?> </div> <?php endif; ?> <?php echo Form::open(['method'=>'patch', 'action'=>['ManageAppSettingsController@updateTemplate'], 'files'=>true, 'id'=>'update-template-form', 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait...') . '"; return true;']); ?> <h2 class="text-primary"><?php echo app('translator')->getFromJson('Please select data to import'); ?></h2> <h4 class="text-danger"> <?php echo app('translator')->getFromJson('*Important Note :'); ?> <?php echo app('translator')->getFromJson('Importing Demo data will override your old data !'); ?> </h4> <div class="form-group"> <?php echo Form::radio('demo_template', 'default', ['class'=>'form-control']); ?> <?php echo Form::label('demo_template', __('Reset to default state') ); ?> </div> <div class="form-group"> <?php echo Form::radio('demo_template', 'template_1', ['class'=>'form-control']); ?> <?php echo Form::label('demo_template', __('Demo Data') ); ?> </div> <div class="form-group"> <?php echo Form::submit(__('Update Template'), ['class'=>'btn btn-primary btn-block', 'name'=>'submit_button','onclick'=> 'updateTemplateConfirm()' ]); ?> </div> <?php echo Form::close(); ?> </div> </div>