view.ctp 936 Bytes

<div class="sites view">
    <h2>Détail site</h2>
    <table style="margin-bottom: 30px;">
    
    	<tr><th style="width: 250px;"></th><th></th></tr>
    	
    	<?php 
    	
    	echo $this->Html->link(__('<i class="icon-pencil"></i> Editer ce site'),
    				['action' => 'edit', $site->id],
    				['escape' => false,'onclick' => 'return true;']
    				);
    	echo $this->Form->postLink(__('<i class="icon-trash"></i> Supprimer ce site'),
    				['action' => 'delete', $site->id],
    				['style'=>'margin-left: 110px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $site->id)]
    				);
    	
    	$displayElement(__('Nom'), h($site->nom));
    	?>


    </table>
</div>


    	<div class="actions">
			<?php echo $this->element('menu') ?>
			<?php echo $this->element('menu_view', 
			[ 'pluralHumanName' => 'Sites',
			'singularHumanName' => 'Site',
			'lien' => $site->id ]) ?>
		</div>