</section>
{if $action === 'edit' && $style->hasDarkMode}
- <section class="section"{if $errorField == 'individualScssDarkMode'} formError{/if}>
+ <section class="section">
<h2 class="sectionTitle">{lang}wcf.acp.style.advanced.individualScssDarkMode{/lang}</h2>
<dl class="wide">
</div>
<small>{lang}wcf.acp.style.advanced.individualScssDarkMode.description{/lang}</small>
</dd>
- {if $errorField == 'individualScssDarkMode'}
- <small class="innerError">
- {lang}wcf.acp.style.advanced.individualScssDarkMode.error{/lang}
- </small>
- {/if}
</dl>
</section>
{/if}
</section>
{if $action === 'edit' && $style->hasDarkMode}
- <section class="section{if $errorField == 'individualScssDarkMode' && $isTainted} formError{/if}">
+ <section class="section>
<h2 class="sectionTitle">{lang}wcf.acp.style.advanced.individualScssDarkMode{/lang}{if !$isTainted} ({lang}wcf.acp.style.protected.less{/lang}){/if}</h2>
<dl class="wide">
</div>
<small>{lang}wcf.acp.style.advanced.individualScssDarkMode.description{/lang}</small>
</dd>
- {if $errorField == 'individualScssDarkMode' && $isTainted}
- <small class="innerError">
- {lang}wcf.acp.style.advanced.individualScssDarkMode.error{/lang}
- </small>
- {/if}
</dl>
</section>
{/if}