ZwiiCampus/module/form/profil/view/edit.inc.php

38 lines
1.9 KiB
PHP
Raw Permalink Normal View History

<div class="row">
<div class="col12">
<div class="block">
<h4>
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Formulaire')); ?>
</h4>
<div class="row">
2023-11-07 11:11:47 +01:00
<div class="col6">
<?php echo template::checkbox('profilEditFormOption', true, 'Options du formulaire', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'option'])
]); ?>
</div>
2023-11-07 11:11:47 +01:00
<div class="col6">
<?php echo template::checkbox('profilEditFormData', true, 'Consulter les réponses', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'data'])
]); ?>
</div>
2023-11-07 11:11:47 +01:00
</div>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilEditFormDelete', true, 'Effacer une réponse', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'delete'])
]); ?>
</div>
2023-11-07 11:11:47 +01:00
<div class="col4">
<?php echo template::checkbox('profilEditFormDeleteAll', true, 'Effacer toutes les réponses', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'deleteAll'])
]); ?>
</div>
2023-11-07 11:11:47 +01:00
<div class="col4">
<?php echo template::checkbox('profilEditFormExport2csv', true, 'Exporter toutes les réponses', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'form', 'export2csv'])
]); ?>
</div>
</div>
</div>
</div>
</div>