Show link to the first question

This commit is contained in:
Fernando Blat
2017-01-05 12:31:20 +01:00
parent 450fcc3e04
commit de13574617
5 changed files with 41 additions and 5 deletions

View File

@@ -16,6 +16,13 @@
<span class="icon-angle-right" aria-hidden="true">
<% end %>
<% end %>
<% elsif @question.first_question_id %>
<%= link_to legislation_process_question_path(@process, @question.first_question_id), class: "quiz-next-link" do %>
<%= content_tag :div, class: "quiz-next" do %>
<%= t('.first_question') %>
<span class="icon-angle-right" aria-hidden="true">
<% end %>
<% end %>
<% end %>
</div>
</div>