{**
 * templates/form/subLabel.tpl
 *
 * Copyright (c) 2014-2019 Simon Fraser University
 * Copyright (c) 2000-2019 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * form label
 *}

{if $FBV_uniqId}
	{if $FBV_multilingual}
		{assign var="forElement" value=$FBV_id|concat:"-":$formLocale:"-":$FBV_uniqId}
	{else}
		{assign var="forElement" value=$FBV_id|concat:"-":$FBV_uniqId}
	{/if}
{else}
	{assign var="forElement" value=$FBV_id}
{/if}
<label class="sub_label{if $FBV_error} error{/if}" {if !$FBV_suppressId} for="{$forElement|escape}"{/if}>
	{if $FBV_subLabelTranslate}{translate key=$FBV_label|escape}{else}{$FBV_label|escape}{/if}{if $FBV_required}<span class="req">*</span>{/if}
</label>
