@extends('layouts.default') @section('content')

Event Management

Update Event
{!! Form::model($target, array('route' => array('event_management.update', $target->id), 'method' => 'PUT', 'class' => 'form-horizontal', 'id' => 'userId','files'=> true)) !!}
{!! Form::select('event_type', $event_category, Input::old('event_type'), array('class' => 'selectpicker form-control', 'id' => 'event_type','onchange'=>'event_type(this.value)'))!!}
{{ Form::checkbox('show_in_homepage',1, Input::old('show_in_homepage'), array('id'=> 'show_in_homepage')) }}
{!! Form::text('name', Input::old('name'), array('id'=> 'name', 'class' => 'form-control', 'required' => 'true')) !!}
{!! Form::text('bn_name', Input::old('bn_name'), array('id'=> 'bn_name', 'class' => 'form-control')) !!}
{!! Form::date('date', Input::old('date'), array('id'=> 'date', 'class' => 'form-control', 'required' => 'true')) !!}
{!! Form::time('time', Input::old('time'), array('id'=> 'time', 'class' => 'form-control')) !!}
{!! Form::number('order_no', Input::old('order_no'), array('id'=> 'order_no', 'class' => 'form-control')) !!}
{!! Form::textarea('short_description', Input::old('short_description'), array('id'=> 'short_description', 'rows' => '3', 'class' => 'form-control')) !!}
{!! Form::textarea('bn_short_description', Input::old('bn_short_description'), array('id'=> 'bn_short_description', 'rows' => '3', 'class' => 'form-control')) !!}
{!! Form::textarea('description', Input::old('description'), array('id'=> 'description', 'rows' => '3', 'class' => 'form-control fullEditor')) !!}
{!! Form::textarea('bn_description', Input::old('bn_description'), array('id'=> 'bn_description', 'rows' => '3', 'class' => 'form-control fullEditor')) !!}
{{--
{{ Form::checkbox('type',1, Input::old('type'), array('id'=> 'type')) }}
--}}
{!! Form::text('location', Input::old('location'), array('id'=> 'location', 'class' => 'form-control')) !!}
{!! Form::text('bn_location', Input::old('bn_location'), array('id'=> 'bn_location', 'class' => 'form-control')) !!}
{{--
{{ Form::checkbox('is_paid',1, Input::old('is_paid'), array('id'=> 'is_paid')) }}
--}}
amount == null) style="display: none" @endif >
{!! Form::text('amount',$target->amount, array('id'=> 'amount', 'class' => 'form-control')) !!}
@if(isset($target->event_details)) @foreach($target->event_details as $event)
{!! Form::text('guest_name[]', $event->name, array('id'=> 'guest_name', 'class' => 'form-control')) !!}
{!! Form::text('guest_details[]', $event->details, array('id'=> 'guest_details', 'class' => 'form-control')) !!}
@endforeach @endif
{{--

Add More

--}}
@if(isset($target)) @if($target->image!=null) @else @endif @else @endif
[Note : Image Ratio 5:3 / 1000x600 px]
{!! Form::select('status_id', array('1' => 'Active', '2' => 'Inactive'), Input::old('status_id'), array('class' => 'selectpicker form-control', 'id' => 'status-id')) !!}
{!! Form::close() !!}
{{-- --}} @stop {{-- @section('js') @stop --}} @section('js') @endsection