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

Welcome to your profile page, {!! $user->first !!} {!! $user->last !!}.

Please confirm your contact information as soon as possible so that we may begin processing your travel and accommodation.
When you've updated your profile information, please indicate your travel preferences.


@if(count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Contact Information

{!! Form::open( ['url' => 'profile', 'method' => 'post'] ) !!}
{!! Form::label('first','First Name') !!} {!! Form::text('first', $user->first, ['class' => 'form-control'] ) !!}
{!! Form::label('last','Last Name') !!} {!! Form::text('last', $user->last, ['class' => 'form-control'] ) !!}
{!! Form::label('email','Email') !!} {!! Form::text('email', $user->email, ['class' => 'form-control'] ) !!}
{!! Form::label('institution','Institution') !!} {!! Form::text('institution', isset($user->profile->institution) ? $user->profile->institution : '', ['class' => 'form-control'] ) !!}
{!! Form::label('street','Street') !!} {!! Form::text('street', isset($user->profile->street) ? $user->profile->street : '', ['class' => 'form-control'] ) !!}
{!! Form::label('city','City') !!} {!! Form::text('city', isset($user->profile->city) ? $user->profile->city : '', ['class' => 'form-control'] ) !!}
{!! Form::label('state','State') !!} {!! Form::text('state', isset($user->profile->state) ? $user->profile->state : '', ['class' => 'form-control'] ) !!}
{!! Form::label('zip','Zip') !!} {!! Form::text('zip', isset($user->profile->zip) ? $user->profile->zip : '', ['class' => 'form-control'] ) !!}
{!! Form::label('country','Country') !!} {!! Form::text('country', isset($user->profile->country) ? $user->profile->country : '', ['class' => 'form-control'] ) !!}

Areas of Expertise

Please indicate areas where you would be comfortable serving as a reviewer.

@foreach($areas_for_checkbox as $area_id => $area) {{ $area['area'] }}
@endforeach

{!! Form::submit('Update My Info', ['class' => 'btn btn-primary']) !!} {!! Form::close() !!}
@endif
@stop