1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 01:14:24 +03:00
ifhub.club/application/frontend/components/property/input/property.text.tpl
Mzhelskiy Maxim 337b17b3d7 fix property
2017-01-22 20:17:25 +07:00

17 lines
613 B
Smarty

{if $property->getParam( 'use_html' )}
{component 'editor'
name = "property[{$property->getId()}]"
value = $property->getValue()->getValueForForm()
label = $property->getTitle()
escape = false
inputClasses = 'js-editor-default' }
{else}
{component 'field' template='textarea'
name = "property[{$property->getId()}]"
value = $property->getValue()->getValueForForm()
rows = 10
escape = false
note = $property->getDescription()
label = $property->getTitle()}
{/if}