<!DOCTYPE html>
<html>
  <head>
    <title>Ifsimply</title>

    <%= stylesheet_link_tag    "application", :media => "all" %>
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>

    <%= google_webfonts_link_tag "Patua One" %>
  </head>
  <body>
    <header>
      <%= render 'shared/navigation' %>
      <%= render 'shared/flash_messages' %>
      <%= yield :header if content_for? :header %>
    </header>

    <%- if content_for? :home_container %>
      <%= yield :home_container %>
    <%- else %>
      <div class="container">
        <%= yield %>
      </div>
    <%- end %>

    <footer>
      <%= yield :footer if content_for? :footer %>
    </footer>
  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <title>Ifsimply</title>

    <%= stylesheet_link_tag    "application", :media => "all" %>
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>

    <%= google_webfonts_link_tag "Patua One" %>
  </head>
  <body>
    <header>
      <%= render 'shared/navigation' %>
      <%= render 'shared/flash_messages' %>
      <%= yield :header if content_for? :header %>
    </header>

    <div class="modal hide fade">
      <div class="modal-header"></div>
      <div class="modal-body"></div>
      <div class="modal-footer"></div>
    </div>

    <%- if content_for? :home_container %>
      <%= yield :home_container %>
    <%- else %>
      <div class="container">
        <%= yield %>
      </div>
    <%- end %>

    <footer>
      <%= yield :footer if content_for? :footer %>
    </footer>
  </body>
</html>

Update Application Layout for Modal
Update Application Layout for Modal

Add a modal div to the application layout for usage when a modal is
required.
