Last active
March 16, 2018 17:01
-
-
Save nshontz/8a30ed44a2fa4db675fdf65ac86e503b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script id="tmpl-nf-field-label" type="text/template"> | |
<# if ( data.type == 'listcheckbox' ) { #> | |
<div class="nf-field-label"><span class="{{{ data.renderLabelClasses() }}}"><strong style="font-weight: 700; color: #646464">{{{ data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}}</strong></span></div> | |
<# } else { #> | |
<div class="nf-field-label"><label for="nf-field-{{{ data.id }}}" class="{{{ data.renderLabelClasses() }}}">{{{ data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}}</label></div> | |
<# } #> | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment