Moves geozones from question to poll in user show views

This commit is contained in:
kikito
2017-01-24 18:09:27 +01:00
parent ab63c18d01
commit 6711063c7d
2 changed files with 5 additions and 6 deletions

View File

@@ -14,12 +14,6 @@
<% end %>
<p><%= @question.summary %></p>
<ul class="no-bullet margin-top tags">
<% @question.geozones.each do |g| %>
<li class="inline-block"><span><%= g.name %></span></li>
<% end %>
</ul>
</div>
<div class="small-12 medium-3 column info">

View File

@@ -11,6 +11,11 @@
<%= t("polls.show.question_count_html",
count: @poll.questions.count) %>
</p>
<ul class="no-bullet margin-top tags">
<% @poll.geozones.each do |g| %>
<li class="inline-block"><span><%= g.name %></span></li>
<% end %>
</ul>
<%= render "callout" %>
</div>