Fixed "it doesn't save anything when you want to edit textarea"
This commit is contained in:
@@ -14,6 +14,10 @@ fragment uses the following additional variables :
|
|||||||
{include file="forms/$field_template/form-field-attributes-renderer.html"}
|
{include file="forms/$field_template/form-field-attributes-renderer.html"}
|
||||||
{/capture}
|
{/capture}
|
||||||
|
|
||||||
|
{if empty($value)}
|
||||||
|
{$value = $field_value}
|
||||||
|
{/if}
|
||||||
|
|
||||||
{if $type == 'hidden'}
|
{if $type == 'hidden'}
|
||||||
|
|
||||||
<input type="hidden" {$attributes nofilter} />
|
<input type="hidden" {$attributes nofilter} />
|
||||||
|
|||||||
Reference in New Issue
Block a user