@layout('layouts.default') @section('content')
{{ Form::label('name', 'Name:') }}
{{ Form::text('name', Input::old('person_name')) }}
{{ Form::label('surname', 'Surname:') }}
{{ Form::text('surname', Input::old('person_surname')) }}
{{ Form::label('birthday', 'Date of birth:') }}
{{ Form::date('birthday', Input::old('person_birthday')) }}
{{ Form::label('language', 'Language:') }}
{{ Form::text('language', Input::old('person_language')) }}
{{ Form::label('email', 'e-mail:') }}
{{ Form::text('email', Input::old('person_email')) }}
{{ Form::label('address', 'Home address:') }}
{{ Form::text('address', Input::old('person_address')) }}
{{ Form::label('pcode', 'Postal code:') }}
{{ Form::text('pcode', Input::old('person_pcode')) }}
{{ Form::label('office', 'Office address:') }}
{{ Form::text('office', Input::old('person_office')) }}
{{ Form::label('off_phone', 'Office phone:') }}
{{ Form::text('off_phone', Input::old('person_off_phone')) }}
{{ Form::label('phone', 'Telephone:') }}
{{ Form::text('phone', Input::old('person_phone')) }}
{{ Form::label('mobile', 'Mobile:') }}
{{ Form::text('mobile', Input::old('person_mobile')) }}
{{ Form::submit('save' , array( 'class' => 'button')) }} {{ HTML::link_to_route('persons' , 'cancel', null, array( 'class'=>'button',)) }}
{{ Form::close() }} @endsection