X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FForm%2Fattachment.tpl;h=d5df47513db26aa181688344bd2e72a121ece971;hb=408f13a58f0682807ab143115579d4165f4f5f66;hp=5d8c1d7b67063becb090f218336a21018bebb204;hpb=821d46b748e54b66ecd35ae904bc2d33cbe23f62;p=civicrm-core.git
diff --git a/templates/CRM/Form/attachment.tpl b/templates/CRM/Form/attachment.tpl
index 5d8c1d7b67..d5df47513d 100644
--- a/templates/CRM/Form/attachment.tpl
+++ b/templates/CRM/Form/attachment.tpl
@@ -69,12 +69,12 @@
{if $form.tag_1.html}
- |
- {$form.tag_1.html} |
+ {$form.tag_1.label} |
+ {$form.tag_1.html} |
{/if}
- {if $tagsetInfo_attachment}
- | {include file="CRM/common/Tag.tpl" tagsetType='attachment' tagsetNumber=1 } |
+ {if $tagsetInfo.file}
+ {include file="CRM/common/Tagset.tpl" tagsetType='file' tableLayout=true tagsetElementName="file_taglist_1"}
{/if}
{section name=attachLoop start=2 loop=$numAttachments+1}
{assign var=index value=$smarty.section.attachLoop.index}
@@ -87,11 +87,11 @@
{$form.$attachName.html} {$form.$attachDesc.html} |
- |
- {$form.$tagElement.html} |
+ {$form.$tagElement.label} |
+ {$form.$tagElement.html} |
- {if $tagsetInfo_attachment}
- | {include file="CRM/common/Tag.tpl" tagsetType='attachment' tagsetNumber=$index} |
+ {if $tagsetInfo.file}
+ {include file="CRM/common/Tagset.tpl" tagsetType='file' tableLayout=true tagsetElementName="file_taglist_$index"}
{/if}
{/section}