Sindbad~EG File Manager

Current Path : /home/numerotech/www/mc.purplemail.in/app/views/campaigns/
Upload File :
Current File : //home/numerotech/www/mc.purplemail.in/app/views/campaigns/edit.blade.php

@extends('bolayout')
@section('title','Campaign')
@section('content')
{{ 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">

                      {{ Form::label('txtCampaignNumber','Campaign ID')}}
                      {{ Form::label('txtCampaignNumber','*',array('class'=>'reqspan'))}}
                      {{ 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">
                      {{ Form::label('txtTitle','Title')}}
                      {{ Form::label('txtTitle','*',array('class'=>'reqspan'))}}
                      {{ 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">
                      {{ Form::label('txtCampaign','Description')}}
                      {{ 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">
                      {{ Form::label('txtYesText','Text to be displayed when user choose option YES')}}
                      {{ 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">
                      {{ Form::label('txtNoText','Text to be displayed when user choose option NO')}}
                      {{ 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">

                    {{ 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>

                      {{ 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>

{{ Form::close()}}
@stop

@section('script')
    <script type="text/javascript">
      
      //Button
      var btnSubmit = "#btnSubmit";

      //Div
      var divInputEntry = "#divInputEntry";

      $(function(){
        
          $(btnSubmit).bind("click", function(){

            return Validate(divInputEntry, true);

          });
      });

    </script>
@stop

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists