mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Have a proper label for the checkbox
This commit is contained in:
parent
4df9852a50
commit
5d5aeacb74
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@
|
||||||
var params = {};
|
var params = {};
|
||||||
|
|
||||||
// make confirm content
|
// make confirm content
|
||||||
var purgeCheckbox = '<input type="checkbox">'+ y18n.t('purge_user_data_checkbox', [c.params['user']]) +'</input>';
|
var purgeCheckbox = '<div><input type="checkbox" id="purge-user-data" name="purge-user-data"> <label for="purge-user-data">'+ y18n.t('purge_user_data_checkbox', [c.params['user']]) +'</label></div>';
|
||||||
var purgeAlertMessage = '<div class="warning" style="display: none">⚠ '+ y18n.t('purge_user_data_warning') +'</div>';
|
var purgeAlertMessage = '<div class="warning" style="display: none">⚠ '+ y18n.t('purge_user_data_warning') +'</div>';
|
||||||
var confirmModalContent = $('<div>'+ y18n.t('confirm_delete', [c.params['user']]) +'<br><br>'+ purgeCheckbox +'<br>'+ purgeAlertMessage +'</div>');
|
var confirmModalContent = $('<div>'+ y18n.t('confirm_delete', [c.params['user']]) +'<br><br>'+ purgeCheckbox +'<br>'+ purgeAlertMessage +'</div>');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue