<% title "#{Guidepost.symbol} #{@guidepost.title}", "#{Guidepost.symbol}#{@guidepost.kctref} : rozcestník" %> <% subtitle "rozcestník #{@guidepost.kctref}" %>
<%= cell(:guidepost, @guidepost).(:attribute_nazev) %> <%= cell(:guidepost, @guidepost).(:attribute_ref) %> <% @guidepost.signs.each do |sign| %> <%= cell(:sign, sign).(:attribute_trail) %> <% end %> <%= cell(:guidepost, @guidepost).(:attribute_umisteni) %> <% unless @guidepost.pozn.blank? %>

Poznámka

<%= @guidepost.pozn %>

<% end %> <% padnul_navrh=false %> <% if @osm_guidepost.nil? %> Pozor guidepost nemá OSM guidepost, zkuste některý připojit: <% padnul_navrh = true %> <% end %> <% unattached_osm_signs = @osm_guidepost.andand.osm_signs.andand.select { |osm_sign| osm_sign.sign.nil? } if !unattached_osm_signs.blank? padnul_navrh = true %>

Rozcestník se podle OSM nalézá ještě na těchto nepřiřazených značených cestách

<% end %> <% if !@kct_guidepost.nil? unattached_kct_signs = @kct_guidepost.kct_signs.select { |kct_sign| kct_sign.sign.nil? } if admin? and !unattached_kct_signs.blank? padnul_navrh = true %>

Rozcestník se podle KČT nalézá ještě na těchto nepřiřazených značených cestách

<% end %> <% end %> <% unless @guidepost.photos.blank? %> <% end %> <% unless padnul_navrh %> <% end %>
<%= cell(:guidepost, @guidepost).(:map) %>
<% content_for :navigace do %> <% if admin? %><%= link_to 'upravit', edit_guidepost_path(@guidepost) %> | <% end %> <%= link_to 'přehled chyb', status_index_guideposts_path %> | <%= link_to 'všechny rozcestníky', guideposts_path %> <% end %> <% content_for :bottom_html do %> <% end %>