Skip to content
Snippets Groups Projects
Commit 44f26cd0 authored by Ben Adida's avatar Ben Adida Committed by GitHub
Browse files

Merge pull request #167 from edmarmartineli/question_delete_confirm

Confirm question exclusion
parents 8af82e56 bf5ef198
Branches
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
<h4>
{#if $T.admin_p}[
{#if $T.question$index > 0}<a href="javascript:question_move_up({$T.question$index});">^</a>]&nbsp;[{#/if}
<a href="javascript:question_remove({$T.question$index})">x</a>] [<a href="javascript:question_edit({$T.question$index})">edit</a>] {#/if}{$T.question$index + 1}. {$T.question.question} ({$T.question.choice_type}, select between {$T.question.min} and {#if $T.question.max != null}{$T.question.max}{#else}unlimited{#/if} answers, result type {$T.question.result_type}.)</h4>
<a onclick="return confirm('Are you sure you want to remove this question?');" href="javascript:question_remove({$T.question$index})">x</a>] [<a href="javascript:question_edit({$T.question$index})">edit</a>] {#/if}{$T.question$index + 1}. {$T.question.question} ({$T.question.choice_type}, select between {$T.question.min} and {#if $T.question.max != null}{$T.question.max}{#else}unlimited{#/if} answers, result type {$T.question.result_type}.)</h4>
<ul>
{#foreach $T.question.answers as answer}
<li> {$T.answer}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment