Also drops survey_answers in update script.
[platal.git] / templates / survey / edit.questions.tpl
index 4fbfceb..c7f0143 100644 (file)
     <div>
       Ajouter une case Autre ?
       <select name="q_edit[${qid}][allow_other]">
-        <option value="1" {{if allow_other}}selected="selected"{{/if}}>Oui</option>
-        <option value="" {{if !allow_other}}selected="selected"{{/if}}>Non</option>
+        <option value="1" {{if $item.allow_other}}selected="selected"{{/if}}>Oui</option>
+        <option value="" {{if !$item.allow_other}}selected="selected"{{/if}}>Non</option>
       </select>
     </div>
   </div>