[MRG] improved string and fixed issue of not geeting karma on edit of answer.
authorTurkesh Patel (Open ERP) <tpa@tinyerp.com>
Thu, 10 Apr 2014 06:14:28 +0000 (11:44 +0530)
committerTurkesh Patel (Open ERP) <tpa@tinyerp.com>
Thu, 10 Apr 2014 06:14:28 +0000 (11:44 +0530)
bzr revid: tpa@tinyerp.com-20140410061428-htr3coosp04g2b5h

1  2 
addons/website_forum/views/website_forum.xml

                          <input type="text" name="question_name" id="question_name" required="True"
                              t-attf-value="#{question.name}" class="form-control" placeholder="Edit your Question"/>
                          <h5 class="mt20">Please enter a descriptive question (should finish by a '?')</h5>
--                        <input type="hidden" name="karma" t-attf-value="#{user.karma}" id="karma"/>
                      </div>
++                    <input type="hidden" name="karma" t-attf-value="#{user.karma}" id="karma"/>
                      <textarea name="content" required="True" class="form-control load_editor">
                          <t t-if="is_answer"> <t t-esc="answer.content"/></t>
                          <t t-if="not is_answer"><t t-esc="question.content"/></t>