@section('content')

{{ $title }}

@if($errors->has())
@foreach ($errors->all() as $row)
{{ $row }}
@endforeach
@endif {{ Form::model($event, $method, array('class' => 'form-horizontal')) }}
{{ Form::select('category_id', $categories, null, array('id' => 'input-category', 'required' => 'true', 'class' => 'form-control')) }}
{{ Form::hidden('place_id', $event->place->place_id, array('id' => 'input-place_id')) }}
{{ Form::text('place', $event->place->name, array('id' => 'input-place', 'placeholder' => 'place Name', 'required' => 'true', 'class' => 'form-control typeahead')) }}
{{ Form::text('title', null, array('id' => 'input-title', 'placeholder' => 'Event Title', 'required' => 'true', 'class' => 'form-control')) }}
{{ Form::text('short_title', null, array('id' => 'input-short_title', 'placeholder' => 'Short Title', 'class' => 'form-control')) }}
{{ Form::text('event_date', null, array('id' => 'input-date', 'placeholder' => 'Event Date', 'required' => 'true', 'class' => 'form-control')) }}
{{ Form::textarea('description', null, array('id' => 'input-description', 'placeholder' => 'Description', 'required' => 'true', 'class' => 'form-control', 'rows' => 5)) }}
{{ Form::select('is_active', array('1' => 'Yes', '0' => 'No'), null, array('id' => 'input-is_active', 'class' => 'form-control')) }}
{{ Form::text('url', null, array('id' => 'input-url', 'placeholder' => 'Tickets URL', 'class' => 'form-control')) }}
@if($event->cover_image)

@endif Upload new file to replace existing one
{{ Form::file('cover_image', array('id' => 'input-cover', 'placeholder' => 'Cover image')) }}
{{ Form::text('tags', null, array('id' => 'input-tags', 'placeholder' => 'Tags', 'class' => 'form-control')) }}
(comma separated)
Cancel
{{ Form::close() }} @endsection