title: Best use of if conditions in the view?
body: <p>The scenario/objective is: </p>
  
  <p>When the visitor is on the homepage the links in head navigation are these: "Villas", "Apartments", "B&amp;B"
  When the visitor is on the country page (example: en/italy) the links in head navigation are these: "Villas Italy", "Apartments Italy", "B&amp;B Italy"
  When the visitor is on the region page (example: en/italy/tuscany) the links in head navigation are these: "Villas Tuscany", "Apartments Tuscany", "B&amp;B Tuscany"</p>
  
  <p>This is my code:</p>
  
  <pre><code>%ul.dropdown-menu.span3
  - if @country.present? 
    %li
      %b
      = link_to "#{t('navigation.nav.houses_all')} #{@country.name}", country_houses_path(@country)
    %li.divider  
    %li.nav-header Thema's 
    - @country.tags.each do |a|
      %li
        #{link_to a.nav_content, tag_country_houses_path(a.country,  a.name).capitalize}
  - if @region.present? &amp;&amp; @country.present?
    %li
      %b
      = link_to "#{t('navigation.nav.houses_all')} #{@region.name}", country_region_houses_path(@country, @region)
    %li.divider  
    %li.nav-header Thema's
    - @region.tags.find_each(:conditions =&gt; "active_house = true") do |a|
      %li
        #{link_to a.nav_content, tag_country_region_houses_path(@country, @region, a.name)}
  - else 
    %li
      %b
      = link_to "#{t('navigation.nav.houses_all')}", houses_path
    %li.divider
  </code></pre>
  
  <p>So want i want to realize is when the @region value is set i want to show a part of the nav @country value is set i want to show another part. But when i am on the region page (en/italy/tuscany) is shows also the @country nav part because @country is also set. </p>
  
  <p>How can i fix this? </p>