Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Commit

Permalink
Added #content to all views' sections so the header doesn't overlap t…
Browse files Browse the repository at this point in the history
…he page content
  • Loading branch information
James Weiner committed Dec 1, 2011
1 parent 35965c8 commit cd7b608
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/views/countries/show.html.erb
Expand Up @@ -9,7 +9,7 @@
<%= @country.name -%>
<%- end -%>

<section class="group fco-country">
<section class="group fco-country" id="content">
<header class="page-header fco-header">
<hgroup>
<h1><a href="<%= root_path %>" title="Back to travel advice home page">Travel advice</a></h1>
Expand Down
2 changes: 1 addition & 1 deletion app/views/home/show.html.erb
@@ -1,4 +1,4 @@
<section class="group fco-home">
<section class="group fco-home" id="content">

<header class="page-header fco-header">
<hgroup>
Expand Down
12 changes: 6 additions & 6 deletions app/views/missions/show.html.erb
@@ -1,7 +1,7 @@
<section>
<h1><%= @mission.location_name %>, <%= @mission.country.name %></h1>
<h2><%= @mission.designation %></h2>
<p><%= @mission.address %></p>
<p><%= @mission.phone %></p>
<p><%= @mission.url %></p>
<section id="content">
<h1><%= @mission.location_name %>, <%= @mission.country.name %></h1>
<h2><%= @mission.designation %></h2>
<p><%= @mission.address %></p>
<p><%= @mission.phone %></p>
<p><%= @mission.url %></p>
</section>
2 changes: 1 addition & 1 deletion app/views/travel_news/show.html.erb
Expand Up @@ -2,7 +2,7 @@
<%= @travel_news.title -%> | News
<%- end -%>

<section class="group fco-news">
<section class="group fco-news" id="content">

<header class="page-header fco-header">
<hgroup>
Expand Down

0 comments on commit cd7b608

Please sign in to comment.