Merge pull request #4517 from nextcloud/downstream-27637

Fix recovery checkbox label to properly point
This commit is contained in:
Morris Jobke 2017-04-26 22:54:20 -03:00 committed by GitHub
commit 0ac806a9dd

View file

@ -53,20 +53,20 @@ script('core', 'multiselect');
<br />
<input
type='radio'
id='userEnableRecovery'
id='userEnableRecoveryCheckbox'
name='userEnableRecovery'
value='1'
<?php echo ( $_["recoveryEnabledForUser"] ? 'checked="checked"' : '' ); ?> />
<label for="userEnableRecovery"><?php p( $l->t( "Enabled" ) ); ?></label>
<label for="userEnableRecoveryCheckbox"><?php p( $l->t( "Enabled" ) ); ?></label>
<br />
<input
type='radio'
id='userDisableRecovery'
id='userDisableRecoveryCheckbox'
name='userEnableRecovery'
value='0'
<?php echo ( $_["recoveryEnabledForUser"] === false ? 'checked="checked"' : '' ); ?> />
<label for="userDisableRecovery"><?php p( $l->t( "Disabled" ) ); ?></label>
<label for="userDisableRecoveryCheckbox"><?php p( $l->t( "Disabled" ) ); ?></label>
</p>
<?php endif; ?>
</form>