@extends('bolayout') @section('title','Campaign') @section('content') {{ Form::open(array('id'=>'formIndex','url' => 'campaign/store')) }}
Campaign - Edit
{{ Form::label('txtCampaignNumber','Campaign ID')}} {{ Form::label('txtCampaignNumber','*',array('class'=>'reqspan'))}} {{ Form::text('txtCampaignNumber',$c->campaign_no, array('class' => 'form-control req', 'maxlength' => '25'))}}
{{ Form::label('txtTitle','Title')}} {{ Form::label('txtTitle','*',array('class'=>'reqspan'))}} {{ Form::textarea('txtTitle',$c->title, array('class' => 'form-control req', 'maxlength' => '250','size' => '30x3'))}}
{{ Form::label('txtCampaign','Description')}} {{ Form::textarea('txtCampaign',$c->description, array('class' => 'form-control', 'maxlength' => '250','size' => '30x5'))}}
{{ 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'))}}
{{ 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'))}}
{{ Form::hidden('hdnCampaignID',Helper::encrypt($c->campaign_id)) }} {{ HTML::decode ( HTML::link(URL::to('/').'/campaigns','Back to index',array('title' => 'New', 'class' => 'btn btn-md btn-default'))) }}
{{ Form::close()}} @stop @section('script') @stop