Current File : /home/itiffy/public_html/storage/framework/views/b94a47adbb4e3688b9236c5db532cdb29bd28d88.php |
<?php $__env->startSection('content'); ?>
<div class="row">
<div class="col-sm-10 col-sm-offset-2">
<h1><?php echo e(trans('quickadmin::templates.templates-view_edit-edit')); ?></h1>
<?php if($errors->any()): ?>
<div class="alert alert-danger">
<ul>
<?php echo implode('', $errors->all('<li class="error">:message</li>')); ?>
</ul>
</div>
<?php endif; ?>
</div>
</div>
<?php echo Form::model($gatway, array('class' => 'form-horizontal', 'id' => 'form-with-validation', 'method' => 'PATCH', 'route' => array(config('quickadmin.route').'.paymentgateway.update', $gatway->id))); ?>
<div class="form-group">
<?php echo Form::label('mode', 'Mode*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::select('mode', array('sandbox'=>'Sandbox','production'=>'Production'),old($gatway->publish_key),array('class'=>'form-control')); ?>
</div>
</div><div class="form-group">
<?php echo Form::label('account_number', 'Account Number*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::text('account_number', old('account_number',$gatway->account_number), array('class'=>'form-control')); ?>
</div>
</div><div class="form-group">
<?php echo Form::label('publish_key', 'Publish Key*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::text('publish_key', old('publish_key',$gatway->publish_key), array('class'=>'form-control')); ?>
</div>
</div><div class="form-group">
<?php echo Form::label('private_key', 'Private key*', array('class'=>'col-sm-2 control-label')); ?>
<div class="col-sm-10">
<?php echo Form::text('private_key', old('private_key',$gatway->private_key), array('class'=>'form-control')); ?>
</div>
</div>
<div class="form-group">
<div class="col-sm-10 col-sm-offset-2">
<?php echo Form::submit(trans('quickadmin::templates.templates-view_edit-update'), array('class' => 'btn btn-primary')); ?>
<?php echo link_to_route(config('quickadmin.route').'.paymentgateway.index', trans('quickadmin::templates.templates-view_edit-cancel'), null, array('class' => 'btn btn-default')); ?>
</div>
</div>
<?php echo Form::close(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>