 
 {if $parameters|default:array()}
  {foreach from=$parameters item="details"} 
{if $details.type neq 'checkbox'}

     <li class="clearfix">
        <div class="left01 {if $details.mandatory|default:'' eq 'yes'} mandatory {/if}">{$details.language}</div>
        <div class="right01">
         {if $details.type eq 'select'}
			{form->select tabindex="1" name="settings[{$details.name}]" value=$paramsValues.{$details.name}|default:'' options=$details.options  form="frmMenuItem" custom="true"}
         {elseif $details.type eq 'textbox'}
         	{form->textbox tabindex="1" name="settings[{$details.name}]"  value=$paramsValues.{$details.name}|default:''  class="textbox " 
             form="frmMenuItem"}
         {/if}    
        </div>
    </li>
    {else}  
   
     <li class="clearfix">
        <div class="left01 "></div>
        <div class="right01">{assign var="checked" value=""}
            {if isset($paramsValues.{$details.name}) && $paramsValues.{$details.name}=='Yes'}
                {assign var="checked" value="checked"}
            {/if}
         	{form->checkbox tabindex="1" name="settings[{$details.name}]" 
             form="frmMenuItem" value="{$paramsValues.{$details.name}|default:'Yes'}" checked=$checked}
         {if $details.mandatory|default:'' eq 'yes'} <strong>{$details.language} </strong> {else} {$details.language}{/if}
        </div>
    </li>  
 {/if}  
      {/foreach}   
 {/if}  		
 
 
