From: Matthias Schmidt Date: Thu, 21 May 2020 18:18:38 +0000 (+0200) Subject: Mark required fields in output when using form builder (#3296) X-Git-Tag: 5.3.0_Alpha_1~284 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=310fbddfb53599827213122d461adef9d7dfc54e;p=GitHub%2FWoltLab%2FWCF.git Mark required fields in output when using form builder (#3296) Close #3265 --- diff --git a/com.woltlab.wcf/templates/__form.tpl b/com.woltlab.wcf/templates/__form.tpl index 8719c7e04b..d6ad54d0e6 100644 --- a/com.woltlab.wcf/templates/__form.tpl +++ b/com.woltlab.wcf/templates/__form.tpl @@ -61,6 +61,14 @@ {/if} +{if $form->needsRequiredFieldsInfo()} +
+

* {lang}wcf.global.form.required{/lang}

+ + {event name='requiredFieldsInfo'} +
+{/if} +