<?php 
echo $this->session->flashdata('message');
?>

<?php 
echo form_open('participation/reschedule_submit/' . $participation->id, array('class' => 'pure-form'));
?>

<?php 
echo form_fieldset(lang('reschedule'));
?>
<p>
<?php 
echo sprintf(lang('reschedule_info'), name($participant), $experiment->name, output_datetime($participation->appointment));
?>
</p>
<p>
<?php 
echo sprintf(lang('call_dates'), name($participant), $min_date, $max_date);
?>
</p>
<?php 
echo form_input('appointment', $appointment, 'id="appointment"');
?>

<?php 
echo form_submit_only();
echo form_cancel('participation/experiment/' . $experiment->id);
echo form_fieldset_close();
echo form_close();
echo validation_errors();
if (!empty($participant->phonealt)) {
    ?>
	<tr>
		<th><?php 
    echo lang('phonealt');
    ?>
</th>
		<td><?php 
    echo $participant->phonealt;
    ?>
</td>
	</tr>
	<?php 
}
?>
	<tr>
		<th><?php 
echo lang('email');
?>
</th>
		<td><?php 
echo mailto($participant->email);
?>
</td>
	</tr>
</table>

<?php 
echo form_submit_only('', 'Herinnering versturen');
echo form_cancel('testinvite', lang('cancel'));
echo form_close();