<?php $__env->startSection('content'); ?>
<div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h5 class="modal-title"><?php echo e(trans('application.edit_tax')); ?></h5>
        </div>
        <?php echo Form::model($tax, ['route' => ['settings.tax.update', $tax->uuid], 'method'=>'PATCH', 'class'=>"ajax-submit"]); ?>
        <div class="modal-body">
            <div class="form-group">
                <?php echo Form::label('name', trans('application.tax_name')); ?>
                <?php echo Form::text('name', null, ['class' => "form-control input-sm", 'required']); ?>
            </div>
            <div class="form-group">
                <?php echo Form::label('value', trans('application.tax_value')); ?>
                <div class="input-group col-md-3">
                    <?php echo Form::input('number','value', null, ['class' => "form-control input-sm",'step'=>'any', 'min'=>'0', 'required']); ?>
                        <span class="input-group-btn ">
                            <button class="btn btn-sm btn-default">%</button>
                        </span>
                </div>
            </div>
            <div class="form-group">
                <?php echo Form::label('selected', trans('application.default')); ?>
                <div class="input-group col-md-3">
                <?php echo Form::select('selected', array('0'=>'No',  '1' => 'Yes'),  null, ['class' => "form-control input-sm"]); ?>
                </div>
            </div>
        </div>

        <div class="modal-footer">
            <?php echo form_buttons(); ?>
        </div>
        <?php echo Form::close(); ?>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('modal', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>