Sha256: ca588f9ee8b4735329dabbd350321795b3f771f7afd3adbd02a695c819aa3140

Contents?: true

Size: 762 Bytes

Versions: 4

Compression:

Stored size: 762 Bytes

Contents

<!DOCTYPE html>
<html>
  <head>
    <title><%= content_for?(:title) ? yield(:title) : "Untitled" %></title>
    <%= stylesheet_link_tag :campagne %>
    <%= javascript_include_tag :campagne %>
    <%= csrf_meta_tag %>
    <%= yield(:head) %>
  </head>
  <body>
    
    <div id="nav">
      <%= link_to 'Lists', campagne_campagne_lists_path %> |
      <%= link_to 'Campaings', campagne_campagne_campaigns_path %>
    </div>
    
    <div id="container">
      <% if notice %>
        <%= content_tag :div, notice, :id => "flash_notice" %>
      <% end %>

      <% if alert %>
        <%= content_tag :div, alert, :id => "flash_alert" %>
      <% end %>

      <%= content_tag :h1, yield(:title) if show_title? %>
      <%= yield %>
    </div>
  </body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
campagne-0.1.2 app/views/layouts/campagne/campagne.html.erb
campagne-0.1.1 app/views/layouts/campagne/campagne.html.erb
campagne-0.1.0 app/views/layouts/campagne/campagne.html.erb
campagne-0.0.2 app/views/layouts/campagne/campagne.html.erb