Fix bug.
This commit is contained in:
parent
626236014f
commit
444d308f06
|
@ -285,7 +285,7 @@
|
|||
<% else %>
|
||||
<td>NA</td>
|
||||
<% end %>
|
||||
<td><%= (@is_answer_list ? sa.created_at : sa.last_modified).strftime((I18n.locale == :zh_tw ? "%Y/%m/%d %H:%M" : "%h %d, %Y - %H:%M")) rescue nil %></td>
|
||||
<td><%= (answers_nil ? sa.last_modified : sa.created_at).strftime((I18n.locale == :zh_tw ? "%Y/%m/%d %H:%M" : "%h %d, %Y - %H:%M")) rescue nil %></td>
|
||||
<td>
|
||||
<% if @answer_repeat && !@is_answer_list %>
|
||||
<a class="btn btn-primary" href="/admin/surveys/<%= sa.id.to_s %>/answer_list"><%= t("survey.view") %>(<%=sa.survey_answer_ids.count%>)</a>
|
||||
|
|
Loading…
Reference in New Issue