Fix bug.
This commit is contained in:
parent
b600b9e1fc
commit
2e45e1824c
|
@ -38,9 +38,11 @@
|
||||||
<% if !answer_present %>
|
<% if !answer_present %>
|
||||||
<%= link_to t("survey.taken_survey"), OrbitHelper.url_to_show(@survey.to_param), :class => 'btn btn-primary' %>
|
<%= link_to t("survey.taken_survey"), OrbitHelper.url_to_show(@survey.to_param), :class => 'btn btn-primary' %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to t("survey.view_answers"), link_to_answer_set, :class => "btn btn-primary" %>
|
|
||||||
<% if answer_repeat %>
|
<% if answer_repeat %>
|
||||||
|
<%= link_to t("survey.taken_survey"), OrbitHelper.url_to_show(@survey.to_param), :class => 'btn btn-primary' %>
|
||||||
<%= link_to t("survey.my_record"), link_to_my_record, :class => "btn btn-primary" %>
|
<%= link_to t("survey.my_record"), link_to_my_record, :class => "btn btn-primary" %>
|
||||||
|
<% else %>
|
||||||
|
<%= link_to t("survey.view_answers"), link_to_answer_set, :class => "btn btn-primary" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue