#if($asset.isFolder())
$pages.include("files.html",$context)
#if($content.isPropertyTrue("showfilesdisplay"))
$pages.include("files-display.html",$context)
#end #else ##end isfolder check

This is currently a file-based record, which does not allow for attachments. #if($caneditasset)
You can convert this asset by clicking the link below.

#set($params = $context.getRequestParamsAsList()) Convert this to a Folder-Based Record

#else

You do not have sufficient permissions to convert this to a folder-based record.

#end #end