Add bottom margin to consent checkbox, mark mobile number as required

2022-03-24
Luca 3 years ago
parent 673aa60bcd
commit c585115e2a

@ -336,7 +336,7 @@ function guest_register()
div('col', [
form_text(
'mobile',
__('Mobile'),
__('Mobile') . ' ' . entry_required(),
$mobile,
false,
40,

@ -177,7 +177,7 @@ function form_checkbox($name, $label, $selected, $value = 'checked', $html_id =
$html_id = $name;
}
return '<div class="checkbox"><label>'
return '<div class="checkbox mb-3"><label>'
. '<input type="checkbox" id="' . $html_id . '" name="' . $name . '" value="' . htmlspecialchars((string)$value) . '" '
. ($selected ? ' checked="checked"' : '') . ' /> '
. $label

Loading…
Cancel
Save