Skip to content

Commit

Permalink
Fixed issue #9419: Unable to delete survey
Browse files Browse the repository at this point in the history
  • Loading branch information
Aestu committed Dec 22, 2014
1 parent 7c1b72a commit 7ae4675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/views/admin/survey/deleteSurvey_view.php
Expand Up @@ -31,11 +31,11 @@
<?php $clang->eT("This survey has an associated tokens table. If you delete this survey this tokens table will be deleted. We recommend that you export or backup these tokens before deleting this survey."); ?><br /><br />
<?php } ?>

echo CHtml::beginForm($this->createUrl("admin/survey/sa/delete/surveyid/{$surveyid}"), 'post');?>
<?php echo CHtml::beginForm($this->createUrl("admin/survey/sa/delete/surveyid/{$surveyid}"), 'post');?>
<input type='hidden' name='delete' value='yes'>
<input type='submit' value='<?php $clang->eT("Delete survey"); ?>'>
<input type='button' value='<?php $clang->eT("Cancel"); ?>' onclick="window.open('<?php echo $this->createUrl("admin/survey/sa/view/surveyid/$surveyid"); ?>', '_top')" />
<?php
echo CHtml::endForm();
<?php } ?>
} ?>
</div><br />&nbsp;

0 comments on commit 7ae4675

Please sign in to comment.