1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-16 21:34:25 +03:00
ifhub.club/application/frontend/skin/developer/forms/property/form.field.tags.tpl

14 lines
525 B
Smarty

{$oValue = $oProperty->getValue()}
{include file="components/field/field.text.tpl"
sName = "property[{$oProperty->getId()}]"
sValue = $oValue->getValueVarchar()
sId = "property-value-tags-{$oProperty->getId()}"
sNote = $oProperty->getDescription()
sLabel = $oProperty->getTitle()}
<script>
jQuery(function($){
ls.autocomplete.add($("#property-value-tags-{$oProperty->getId()}"), aRouter['ajax']+'property/tags/autocompleter/', true, { property_id: '{$oValue->getPropertyId()}' });
});
</script>