{** * templates/form/keywordInput.tpl * * Copyright (c) 2014-2018 Simon Fraser University * Copyright (c) 2000-2018 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * Generic keyword input control *} {assign var="uniqId" value="-"|concat:$FBV_uniqId|escape} {if $FBV_multilingual && count($formLocales) > 1} {foreach name=formLocales from=$formLocales key=thisFormLocale item=thisFormLocaleName} {/foreach} {* Add localization_popover_container_focus_forced class to multilingual tag-it fields. This is a workaround to a focus bug which prevents a tag-it value from being deleted when it is in a multilingual popover. See: https://github.com/pkp/pkp-lib/issues/3003 *} {if $FBV_label_content}{$FBV_label_content}{/if}
{foreach from=$formLocales key=thisFormLocale item=thisFormLocaleName}{if $formLocale != $thisFormLocale} {/if}{/foreach}
{else} {* this is not a multilingual keyword field or there is only one locale available *} {if $FBV_label_content}{$FBV_label_content}{/if} {/if}