FIX
This commit is contained in:
parent
92a4c558fa
commit
9768df803f
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
<% question[:antwoorden].each_with_index do |answer, idx|%>
|
<% question[:antwoorden].sort_by{ |x| x[:tekst] }.each_with_index do |answer, idx|%>
|
||||||
<% if answer[:vraag] %>
|
<% if answer[:vraag] %>
|
||||||
<div id='<%= number+"#"+idx.to_s %>' style="display:none;">
|
<div id='<%= number+"#"+idx.to_s %>' style="display:none;">
|
||||||
<%= render '/partials/question.*', question: answer, number: number+"."+idx.to_s %>
|
<%= render '/partials/question.*', question: answer, number: number+"."+idx.to_s %>
|
||||||
|
|
Loading…
Reference in a new issue