| Path : /var/www/html/moneyexchange/storage/framework/views/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : //var/www/html/moneyexchange/storage/framework/views/f38d569181d46d858d60bcd101ad232f37148ae6.php |
<?php $__env->startSection('content'); ?>
<div class="page-wrapper">
<div class="page-breadcrumb">
<div class="row">
<div class="col-12 d-flex no-block align-items-center">
<h4 class="page-title"><?php echo e(__('message.setting')); ?></h4>
<div class="ms-auto text-end">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="<?php echo e(route('settings.create')); ?>" class="btn btn-primary btn-sm">
<i class="fa fa-plus"></i>
<?php echo e(__('message.add new')); ?>
</a>
</li>
</ol>
</nav>
</div>
</div>
</div>
</div>
<div class="container-fluid" style="padding-top: 0px;">
<div class="card">
<div class="card-body form wizard-content">
<?php if(empty($setting)): ?>
<form method="POST" action="<?php echo e(route('settings.store')); ?>" class="mt-5">
<?php echo e(csrf_field()); ?>
<section class="col-sm-6">
<div class="mb-3 mt-3">
<label for="email"><?php echo e(__('message.name')); ?></label>
<input type="text" class="form-control" placeholder="<?php echo e(__('message.name')); ?>" name="name" required>
</div>
<div class="mb-3">
<label for="pwd"><?php echo e(__('message.value')); ?></label>
<input type="text" class="form-control" placeholder="<?php echo e(__('message.value')); ?>" name="value" required>
</div>
<div class="text-center">
<button class="btn btn-danger btn-sm" type="button" onclick="window.history.back();">
<?php echo e(__('message.cancel')); ?>
</button>
<button type="submit" class="btn btn-primary btn-sm">
<i class="fa fa-save"></i>
<?php echo e(__('message.save')); ?>
</button>
</div>
</section>
</form>
<?php else: ?>
<form method="POST" action="<?php echo e(route('settings.update', $setting)); ?>" class="mt-5">
<input name="_method" type="hidden" value="PUT">
<?php echo e(csrf_field()); ?>
<section class="col-sm-6">
<div class="mb-3 mt-3">
<label for="email"><?php echo e(__('message.name')); ?></label>
<input type="text" class="form-control" placeholder="<?php echo e(__('message.name')); ?>" name="name" value="<?php echo e($setting->name); ?>" required>
</div>
<div class="mb-3">
<label for="pwd"><?php echo e(__('message.value')); ?></label>
<input type="text" class="form-control" placeholder="<?php echo e(__('message.value')); ?>" name="value" value="<?php echo e($setting->value); ?>" required>
</div>
<div class="text-center">
<button class="btn btn-danger btn-sm" type="button" onclick="window.history.back();">
<?php echo e(__('message.cancel')); ?>
</button>
<button type="submit" class="btn btn-primary btn-sm">
<i class="fa fa-save"></i>
<?php echo e(__('message.save')); ?>
</button>
</div>
</section>
</form>
<?php endif; ?>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('meta'); ?>
<title><?php echo e(__('message.setting')); ?></title>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/moneyexchange/resources/views/setting/settingForm.blade.php ENDPATH**/ ?>