Sindbad~EG File Manager
<?php $__env->startSection('title','Campaign'); ?>
<?php $__env->startSection('content'); ?>
<?php echo Form::open(array('id'=>'formIndex','url' => 'campaign/store')); ?>
<br/>
<div class="panel panel-default">
<div class="panel-heading">
Campaign - Edit
</div>
<div class="panel-body">
<div class="row" id = "divInputEntry">
<div class="col-lg-2 col-md-2 col-sm-2">
<div class="form-group">
</div>
</div>
<div class="col-lg-8 col-md-8 col-sm-8">
<div class="form-group">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="form-group">
<?php echo Form::label('txtCampaignNumber','Campaign ID'); ?>
<?php echo Form::label('txtCampaignNumber','*',array('class'=>'reqspan')); ?>
<?php echo Form::text('txtCampaignNumber',$c->campaign_no, array('class' => 'form-control req', 'maxlength' => '25')); ?>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="form-group">
<?php echo Form::label('txtTitle','Title'); ?>
<?php echo Form::label('txtTitle','*',array('class'=>'reqspan')); ?>
<?php echo Form::textarea('txtTitle',$c->title, array('class' => 'form-control req', 'maxlength' => '250','size' => '30x3')); ?>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="form-group">
<?php echo Form::label('txtCampaign','Description'); ?>
<?php echo Form::textarea('txtCampaign',$c->description, array('class' => 'form-control', 'maxlength' => '250','size' => '30x5')); ?>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="form-group">
<?php echo Form::label('txtYesText','Text to be displayed when user choose option YES'); ?>
<?php echo Form::textarea('txtYesText',$c->yes_text, array('class' => 'form-control', 'maxlength' => '250','size' => '30x5')); ?>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="form-group">
<?php echo Form::label('txtNoText','Text to be displayed when user choose option NO'); ?>
<?php echo Form::textarea('txtNoText',$c->no_text, array('class' => 'form-control', 'maxlength' => '250','size' => '30x5')); ?>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 text-right">
<div class="form-group">
<?php echo Form::hidden('hdnCampaignID',Helper::encrypt($c->campaign_id)); ?>
<button type="submit" id = "btnSubmit" name = "submit" value = "submit" class="btn btn-md btn-primary" 'title' = 'Update'>Update</button>
<?php echo HTML::decode ( HTML::link(URL::to('/').'/campaigns','Back to index',array('title' => 'New', 'class' => 'btn btn-md btn-default'))); ?>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-2 col-md-2 col-sm-2">
<div class="form-group">
</div>
</div>
</div>
</div>
</div>
<?php echo Form::close(); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
<script type="text/javascript">
//Button
var btnSubmit = "#btnSubmit";
//Div
var divInputEntry = "#divInputEntry";
$(function(){
$(btnSubmit).bind("click", function(){
return Validate(divInputEntry, true);
});
});
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('bolayout', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists