fix: show email field on adding household member

fix: move display settings to the bottom
fix: reorder subscription form
This commit is contained in:
Miguel Ribeiro
2024-02-28 21:48:16 +01:00
committed by GitHub
parent 0b82345ee9
commit ec25d4bc5a
14 changed files with 80 additions and 63 deletions
+11 -11
View File
@@ -195,6 +195,17 @@
</div>
</div>
<?php
if ($notificationsEnabled) {
?>
<div class="form-group-inline">
<input type="checkbox" id="notifications" name="notifications">
<label for="notifications"><?= translate('enable_notifications', $i18n) ?></label>
</div>
<?php
}
?>
<div class="form-group">
<label for="payment_method"><?= translate('payment_method', $i18n) ?></label>
<select id="payment_method" name="payment_method_id">
@@ -252,17 +263,6 @@
<label for="inactive"><?= translate('inactive', $i18n) ?></label>
</div>
<?php
if ($notificationsEnabled) {
?>
<div class="form-group-inline">
<input type="checkbox" id="notifications" name="notifications">
<label for="notifications"><?= translate('enable_notifications', $i18n) ?></label>
</div>
<?php
}
?>
<div class="buttons">
<input type="button" value="<?= translate('delete', $i18n) ?>" class="warning-button left" id="deletesub" style="display: none">
<input type="button" value="<?= translate('cancel', $i18n) ?>" class="secondary-button" onClick="closeAddSubscription()">