Permalink
Browse files

Confirm question exclusion

  • Loading branch information...
edmarmartineli committed May 29, 2017
1 parent 166c783 commit bf5ef198a7b28dbd5c058326e0a3d1e2101460b4
Showing with 1 addition and 1 deletion.
  1. +1 −1 helios/media/static_templates/question.html
@@ -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 comments on commit bf5ef19

Please sign in to comment.