<?php \Laravel\Section::start('content'); ?>
	<div><h1>Club members&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:members@euroclub.be" class="notes">members@euroclub.be</a></h1></div>
	<div class="table">
	<table id="tb_members" class="grid">
		<thead>
			<tr>
				<th width="80px"></th>
				<th>Name</th>
				<th>email</th>
				<th>telephone</th>
				<th>mobile</th>
				<th>address</th>
				<th>birthday</th>
				<th>lang.</th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<th colspan="8">
					<?php echo  Form::open('person/new', 'GET') ; ?>
					<?php echo  Form::submit('new member' , array( 'class' => 'button')) ; ?>
					<?php echo  Form::close() ; ?>
				</th>
			</tr>
		</tfoot>
		<tbody>
		<?php foreach($persons as $person): ?>
			<tr>
				<td><?php echo  HTML::link_to_route('person' , '', array($person->id), array( 'class'=>'show', 'alt'=>'show', 'title'=>'show details')) ; ?>
					<?php echo  HTML::link_to_route('edit_person' , '', array($person->id), array( 'class'=>'upd', 'alt'=>'upd', 'title'=>'update')) ; ?>
					<?php echo  HTML::link_to_route('confirm_person' , '', array($person->id), array( 'class'=>'del', 'alt'=>'del', 'title'=>'delete')) ; ?></td>
				<td><?php echo  $person->person_name . ' ' . $person->person_surname ; ?></td>
				<td><?php echo  HTML::mailto($person->person_email,$person->person_email); ?></td>
				<td><?php echo  $person->person_phone; ?></td>
				<td><?php echo  $person->person_mobile; ?></td>
				<td><?php echo  $person->person_address ; ?><br/><?php echo  $person->person_pcode ; ?></td>
				<td><?php echo  $person->person_birthday; ?></td>
				<td><?php echo  $person->person_language; ?></td>
			</tr>
		<?php endforeach; ?>
		</tbody>
	</table>
	</div>
<?php \Laravel\Section::stop(); ?>





<?php echo view('layouts.grid')->with(get_defined_vars())->render(); ?>