%h2 = link_to @map.title, map_path(@map) > Bearbeiten = render 'form' %hr.clear - if current_user && (current_user.has_role? :admin) %article#admin_panel = link_to "Einen Ort hinzufügen", new_placemark_path(:map => "#{@map.id}"), :class => "button" = link_to 'Karte Anzeigen', @map, :class=>"button" = link_to 'Karten-Index', maps_path, :class=>"button"