@extends('master.index') @section('content')

{{ $title }}

{!! Form::open() !!}
{!! Form::label('title', t('Title')) !!}* {!! Form::input('text','title',$post->title, ['required', 'class' => 'form-control', 'placeholder' => t('Title')]) !!}
{!! Form::label('description', t('Description')) !!}* {!! Form::textarea('description',$post->description, ['id' => 'editor', 'class' => 'form-control', 'placeholder' => t('Description')]) !!}
{!! Form::label('apply_elsewhere', t('Apply from somewhere else')) !!} {!! Form::checkbox('apply_elsewhere', 1, $post->apply_elsewhere, ['id' => 'apply_elsewhere']) !!}
{!! Form::label('apply_to', t('How to apply')) !!}* {!! Form::textarea('apply_to',$post->apply_to, ['rows' => 3, 'id' => 'editor', 'class' => 'form-control', 'placeholder' => t('How and where to apply, email address or link')]) !!}
{!! Form::label('is_remote', t('Is Remote Job')) !!} {!! Form::checkbox('is_remote', 1, $post->is_remote, ['id' => 'is_remote']) !!}
{!! Form::label('location', t('Location')) !!} {!! Form::select('location',[],[],['class' => 'location', 'placeholder' => t('City, Sate, Country')]) !!} {!! Form::input('text','location_id',null,['class' => 'place_id hidden']) !!}
{!! Form::label('category', t('Category')) !!}
{!! Form::label('category', 'Type') !!}
{!! Form::label('tags', 'Tags') !!}
{!! Form::label('delete', t('Delete')) !!} {!! Form::checkbox('delete', 1) !!}
{!! Form::submit(t('Update'), ['class' => 'btn btn-info btn-lg btn-block']) !!} {!! Form::close() !!}
@endsection