Fixed "it doesn't save anything when you want to edit textarea"

This commit is contained in:
Franck Allimant
2014-07-07 22:42:44 +02:00
parent b7d98d8648
commit 082a1905f6

View File

@@ -14,6 +14,10 @@ fragment uses the following additional variables :
{include file="forms/$field_template/form-field-attributes-renderer.html"}
{/capture}
{if empty($value)}
{$value = $field_value}
{/if}
{if $type == 'hidden'}
<input type="hidden" {$attributes nofilter} />