<!doctype html><html lang="fr"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Signature sécurisée</title><link rel="stylesheet" href="/public/assets/css/cda-professor-consents-9616.css"></head><body class="pcons-public"><main><img src="/public/assets/images/logo-carrefour-des-arts.jpg" alt="Carrefour des Arts" style="display:block;width:150px;height:auto;margin:0 auto 18px"><span>CARREFOUR DES ARTS DE BRAY-DUNES</span><h1><?=$document['type_document']==='rgpd'?'Consentement RGPD':'Droit à l’image'?></h1><p><?=htmlspecialchars($document['prenom'].' '.$document['nom'])?> · <?=htmlspecialchars($document['annee_scolaire'])?></p><section><h2>Choix du document</h2><ul><?php foreach(json_decode((string)$document['choix_json'],true)?:[] as$key=>$value):?><li><?=htmlspecialchars(str_replace('_',' ',$key))?> : <?=is_bool($value)?($value?'Oui':'Non'):htmlspecialchars((string)$value)?></li><?php endforeach?></ul></section><form method="post" action="/public/professeur-consentement-public/signature" class="public-sign-form"><input type="hidden" name="token" value="<?=htmlspecialchars($token)?>"><input type="hidden" name="signature_data" data-signature-output><label>Nom du signataire<input required name="nom_signataire" value="<?=htmlspecialchars($document['prenom'].' '.$document['nom'])?>"></label><label>Signature<canvas width="650" height="190"></canvas></label><div><button type="button" data-clear>Effacer</button><button>Signer le document</button></div></form><p><small>Lien personnel à usage unique. La date, l’état du jeton et la signature seront journalisés.</small></p></main><script src="/public/assets/js/cda-professor-consents-9616.js"></script></body></html>
