if feedback map doesn't exist don't put up feedback button
This commit is contained in:
parent
1ec7990472
commit
c9d0ea889c
1 changed files with 3 additions and 1 deletions
|
@ -65,7 +65,9 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="feedback"><%= link_to "Feedback", user_map_path(User.find(555629996), Map.find(7)) %></div>
|
<% unless Map.find(:all, 7).empty? %>
|
||||||
|
<div class="feedback"><%= link_to "Feedback", user_map_path(User.find(555629996), Map.find(7)) %></div>
|
||||||
|
<% end %>
|
||||||
<div class="legend">
|
<div class="legend">
|
||||||
<div id="iconLegend">
|
<div id="iconLegend">
|
||||||
<h3>FILTERS</h3>
|
<h3>FILTERS</h3>
|
||||||
|
|
Loading…
Reference in a new issue