{#if $user && $user.is_admin}
dispatch('delete')}>
{#if edit}
{:else}
{/if} {/if}
{#if false && response_history}
Historique :
Actuel
{#each response_history as history (history.id)}
{new Intl.DateTimeFormat('default', { year: 'numeric', month: 'numeric', day: 'numeric', hour: 'numeric', minute: 'numeric', second: 'numeric'}).format(new Date(history.time_submit))}
{/each}
{/if} {#if edit} {#if question.kind == 'text' || question.kind == 'int'}
Placeholder
{:else} {#await question.getProposals()}
Chargement des choix …
{:then proposals}
{ dispatch("change"); }} /> {/await} {/if} {:else if question.kind == 'mcq' || question.kind == 'ucq'} {#await question.getProposals()}
Chargement des choix …
{:then proposals}
{ dispatch("change"); }} /> {/await} {:else if readonly}
{value}
{:else if question.kind == 'int'}
{ dispatch("change"); }} > {:else}
{ dispatch("change"); }} >
{/if} {#if survey && survey.corrected}
{/if} {#if false}
{proposal.label}
{proposal.label}
Ajouter des proposals
Créez la question pour ajouter des propositions
{question.response.score} %
{question.response.score_explaination}
{/if}