application.html.erb 813 Bytes
Newer Older
Sara Kuqi's avatar
fc  
Sara Kuqi committed
1
2
3
4
5
<!DOCTYPE html>
<html>
  <head>
    <%= csrf_meta_tags %>
    <%= stylesheet_link_tag    'application', media: 'all',
6
                                                'data-turbolinks-track': 'reload' %>
pei-chi.huang's avatar
pei-chi.huang committed
7
    <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
Sara Kuqi's avatar
fc  
Sara Kuqi committed
8
9
    <%= render 'layouts/shim' %>
  </head>
10
11
  <body>
    <%= render 'layouts/header' %>
12
     <div class="container-fluid text-center" style="margin-bottom: 1.5rem">
13
14
15
          <% flash.each do |message_type, message| %>
          <%= content_tag(:div, message, class: "alert alert-#{message_type}") %>
          <% end %>
16
17

         <%# show this on every page: %>
18
          <%= yield %>
Sara Kuqi's avatar
fc  
Sara Kuqi committed
19
     </div>
20
    </div>
21
22
    <%# todo don't hide page content under footer %>
     <%#= render 'layouts/footer' %>
23
24
25
   </div>
  </body>
 </html>