[FIX] website_crm: textarea don't keep value when they are an error because the view use t-attf insead of value inside textarea tags

bzr revid: chm@openerp.com-20140311103537-mp6x2v015tyuimux
This commit is contained in:
chm@openerp.com 2014-03-11 11:35:37 +01:00
parent e634545617
commit d1798dcb36
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
<div t-attf-class="form-group #{error and 'description' in error and 'has-error' or ''}">
<label class="col-md-3 col-sm-4 control-label" for="description">Your Question</label>
<div class="col-md-7 col-sm-8">
<textarea class="form-control" name="description" style="min-height: 120px" required="True" t-attf-value="#{description or ''}"/>
<textarea class="form-control" name="description" style="min-height: 120px" required="True"><t t-esc="description or ''"/></textarea>
</div>
</div>
<div class="form-group">