Minimum hacking to have a working site.
[platal.git] / templates / survey / show_root.tpl
index 7ce6cf6..ca606fd 100644 (file)
@@ -91,7 +91,7 @@
   {/if}
 </table>
 <p class="center">
-  {if $survey_editmode && !$survey_updatemode}
+  {if $smarty.session.survey_validate || ($survey_editmode && !$survey_updatemode)}
   <a href='survey/edit/valid'>
     {icon name=tick}
     Proposer ce sondage