Banners

Go Back
@if(Session::has('success'))
Success! {{Session::get('success')}}
@endif @if(Session::has('failure'))
Error! {{Session::get('success')}}
@endif
Edit Banner
{{Form::open(array("url"=>"/admin/banners/update/".$banner->id,"method" => "PUT","role"=>"form","class" => "form-horizontal","files"=>"true"))}}
{{Form::text('banner_name',$banner->banner_name,array("class"=>"form-control", "placeholder"=>"Enter Banner Name"))}} {{$errors->first('banner_name')}}
{{Form::text('link',$banner->link,array("class"=>"form-control", "placeholder"=>"Enter Banner Link"))}} {{$errors->first('link')}}
{{Form::file('banner_image',array("class"=>"form-control"))}}
@if($banner->banner_image == '') There is no image uploaded for this banner @else {{HTML::image('images/'.$banner->banner_image,"",["class"=>"img-brand"])}} @endif
{{Form::close()}}