@extends('layouts.master') @section('title') Chandra Peer Review | Profile @stop @section('head') @stop @section('content')
@if(Auth::check())

Please indicate your travel preferences here.


@if(count($errors) > 0) @endif {!! Form::open( ['url' => 'travel', 'method' => 'post'] ) !!} Traveling to Boston, please indicate where you're coming from:
{!! Form::label('fromcity','City') !!} {!! Form::text('fromcity', isset($user->travel->fromcity) ? $user->travel->fromcity : '', ['class' => 'form-control'] ) !!}
{!! Form::label('fromstate','State') !!} {!! Form::text('fromstate', isset($user->travel->fromstate) ? $user->travel->fromstate : '', ['class' => 'form-control'] ) !!}
{!! Form::label('fromcountry','Country') !!} {!! Form::text('fromcountry', isset($user->travel->fromcountry) ? $user->travel->fromcountry : '', ['class' => 'form-control'] ) !!}
{!! Form::label('arrivedate','Date of Arrival to Boston') !!} {!! Form::text('arrivedate', isset($user->travel->arrivedate) ? $user->travel->arrivedate : '', ['id' => 'datepicker', 'class' => 'form-control'] ) !!}

Traveling from Boston, please indicate where you're going:
{!! Form::label('tocity','City') !!} {!! Form::text('tocity', isset($user->travel->tocity) ? $user->travel->tocity : '', ['class' => 'form-control'] ) !!}
{!! Form::label('tostate','State') !!} {!! Form::text('tostate', isset($user->travel->tostate) ? $user->travel->tostate : '', ['class' => 'form-control'] ) !!}
{!! Form::label('tocountry','Country') !!} {!! Form::text('tocountry', isset($user->travel->tocountry) ? $user->travel->tocountry : '', ['class' => 'form-control'] ) !!}
{!! Form::label('departdate','Date of Departure from Boston') !!} {!! Form::text('departdate', isset($user->travel->departdate) ? $user->travel->departdate : '', ['id' => 'datepicker2', 'class' => 'form-control'] ) !!}
{!! Form::submit('Update Travel Prefs', ['name' => 'submit', 'class' => 'btn btn-primary'] ) !!} {!! Form::submit('Clear Travel Prefs', ['name' => 'delete', 'class' => 'btn btn-danger'] ) !!} {!! Form::close() !!} @endif
@stop @section('body') @stop