mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 01:14:24 +03:00
17 lines
613 B
Smarty
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} |