From: Matthias Schmidt Date: Mon, 28 May 2018 19:02:49 +0000 (+0200) Subject: Fix html code of numeric form field X-Git-Tag: 5.2.0_Alpha_1~680^2~39 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7dba0185a4f2a334ecb89d14b0faadfa383535d4;p=GitHub%2FWoltLab%2FWCF.git Fix html code of numeric form field See #2509 --- 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()}