tag标签问题
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{if empty($value)}
|
||||
<input type="text" value="" id="{$field}" name="{$field}" data-role="tagsinput" />
|
||||
{else/}
|
||||
{if is_array($value) /}
|
||||
<input type="text" value="{$value|implode=',',###}" id="{$field}" name="{$field}" data-role="tagsinput" />
|
||||
{else /}
|
||||
<input type="text" value="{$value}" id="{$field}" name="{$field}" data-role="tagsinput" />
|
||||
{/if}
|
||||
Reference in New Issue
Block a user