From 7dba0185a4f2a334ecb89d14b0faadfa383535d4 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 28 May 2018 21:02:49 +0200 Subject: [PATCH] Fix html code of numeric form field See #2509 --- .../files/acp/templates/__numericFormField.tpl | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/acp/templates/__numericFormField.tpl b/wcfsetup/install/files/acp/templates/__numericFormField.tpl index 0f788eb0a7..685f7fdda6 100644 --- a/wcfsetup/install/files/acp/templates/__numericFormField.tpl +++ b/wcfsetup/install/files/acp/templates/__numericFormField.tpl @@ -4,7 +4,19 @@
{/if} -isAutofocused()} autofocus{/if}{if $field->isRequired()} required{/if}{if $field->isImmutable()} disabled{/if}{if $field->getMinimum() !== null} min="{$field->getMinimum()}"{/if}{if $field->getMaximum() !== null} max="{$field->getMaximum()}"{/if}{if $field->getPlaceholder() !== null} placeholder="{$field->getPlaceholder()}"{/if}"> +isAutofocused()} autofocus{/if}{* + *}{if $field->isRequired()} required{/if}{* + *}{if $field->isImmutable()} disabled{/if}{* + *}{if $field->getMinimum() !== null} min="{$field->getMinimum()}"{/if}{* + *}{if $field->getMaximum() !== null} max="{$field->getMaximum()}"{/if}{* + *}{if $field->getPlaceholder() !== null} placeholder="{$field->getPlaceholder()}"{/if}{* +*}> {if $field->getSuffix() !== null} {@$field->getSuffix()} -- 2.20.1