{** * templates/form/checkboxGroup.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. * * form checkboxgroup *} {if $FBV_required}{assign var="required" value="required"}{/if} {foreach name=checkbox from=$FBV_from item=FBV_label key=FBV_value} {if in_array($FBV_value, $FBV_selected)} {assign var="FBV_checked" value="checked"} {else} {assign var="FBV_checked" value=""} {/if} {capture assign="FBV_inputMarkup"} {/capture} {if $FBV_label} {else} {$FBV_inputMarkup} {/if} {/foreach}