 
  <?php $__env->startSection('content'); ?>
<?php Fun::lang()?>
<div class="title-add">
    <div class="page-bar"> 
        <ul class="page-breadcrumb"> 
            <li> <a class="ng-binding" href="#"><i class="fa fa-dashboard"></i> Dashboard</a> </li>
            <li><a href="#">Branchs Infomation</a></li>
            <li><a href="#">Create Branch</a></li>
        </ul> 
    </div>
</div>
    <div class="page">
        <div class="top-content">
            <div class="row">
                <div class="col-sm-12 col-xs-12">
                    <div class="title-page">
                        <div class="pull-left">
                            <h3>Create Branch</h3>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="row">
            <div class="col-sm-12 col-xs-12">

                <div class="form-wrapper">

                    <?php echo Form::open(array('route' => 'branches.store','method'=>'POST','enctype'=>'multipart/form-data')); ?>

                    <div class="row">

                        <div class="form-group col-sm-6 col-xs-6">
                            <label class="required">Branch English</label>
                            <?php echo Form::text('branch_en', null, array('placeholder' => 'Branch English','class' => 'form-control','required')); ?>

                        </div>
                        <div class="form-group col-sm-6 col-xs-6">
                            <label class="required">Branch Khmer<Khmer></Khmer></label>
                            <?php echo Form::text('branch_kh', null, array('placeholder' => 'Branch Khmer','class' => 'form-control','required')); ?>

                        </div>

                    </div>
                    <div class="row">

                        <div class="form-group col-sm-6 col-xs-6">
                            <label class="required">Phone</label>
                            <?php echo Form::text('branch_phone', null, array('placeholder' => 'Phone','class' => 'form-control number-only','required')); ?>

                        </div>
                        <div class="form-group col-sm-6 col-xs-6">
                            <label class="required">Email</label>
                            <?php echo Form::email('branch_email', null, array('placeholder' => 'Email','class' => 'form-control','required')); ?>

                        </div>

                    </div>
                    <div class="row">

                        <div class="form-group col-sm-6 col-xs-6">
                            <label class="required">Address</label>
                            <?php echo Form::text('branch_address', null, array('placeholder' => 'Address','class' => 'form-control','required')); ?>

                        </div>
                        <div class="form-group col-sm-6 col-xs-6">
                            <label>Note</label>
                            <?php echo Form::textarea('branch_note', null, array('placeholder' => 'Note','class' => 'form-control','rows'=>'3')); ?>

                        </div>

                    </div>
                    <div class="row">
                        <div class="col-xs-6 col-sm-6 col-md-6">
                            <div class="box">
                                <div class="m-card-profile">
                                   <label for="required" class="required">Logo Image </label>
                                <p class="text-danger"></p>
                                    <div class="imageupload panel panel-default">
                                        <img src="<?php echo e(asset('assets/images/default.png')); ?>" class="hide_img" width="100px">
                                        <div class="file-tab panel-body">
                                            <label class="btn button_warning btn-file">
                                                <span>Browse</span>
                                                <input type="file" name="image">
                                            </label>
                                            <button type="button" class="btn button_danger">Remove</button>
                                        </div>  
                                    </div> 
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12">
                        <div class="form-group">
                            <button type="submit" class="button_sm button_primary pull-right"><span class="fa fa-save"></span> Save</button>
                            <button type="button"  onClick="javascript:history.go(-1)" class="button_sm button_warning pull-right">
                                    <span class=" fa fa-arrow-circle-left"></span> Back</button>
                        </div>
                    </div>

                    <?php echo Form::close(); ?>

                </div>
            </div>
        </div>

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

 <?php $__env->startSection('js'); ?>
     <script type="text/javascript" src="<?php echo e(asset('assets/controller/location.js')); ?>"></script>
 <?php $__env->stopSection(); ?>
<?php echo $__env->make('adminlte::page', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>