!!! 5
%html
  %head
    / Title
    %title= "Watch Tower - #{@title}"

    / Meta tags
    %meta{:charset => "utf-8"}/
    %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
    %meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/

    / Link tags
    %link{:href => asset_path('application.css'), :rel => "stylesheet"}/

    / Script tahs
    %script{:src => asset_path('application.js')}
  %body
    %section#wrapper

      %header
        #logo
          %a{href: "/"}
            %h1 Watch Tower

      %section#main
        %aside#date
          %input{type: 'text'}
        .page= yield

      %section#footer
        WatchTower
        -
        %a{href: 'http://www.technogate.fr'}
          TechnoGate

!!! 5
%html
  %head
    / Title
    %title= "Watch Tower - #{@title}"

    / Meta tags
    %meta{:charset => "utf-8"}/
    %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
    %meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/
    %meta{name: 'date_filtering_from', content: session[:date_filtering][:from_date] }/
    %meta{name: 'date_filtering_to', content: session[:date_filtering][:to_date]}/

    / Link tags
    %link{:href => asset_path('application.css'), :rel => "stylesheet"}/

    / Script tahs
    %script{:src => asset_path('application.js')}
  %body
    %section#wrapper

      %header
        #logo
          %a{href: "/"}
            %h1 Watch Tower

      %section#main
        %aside#date
          %input{type: 'text'}
        .page= yield

      %section#footer
        WatchTower
        -
        %a{href: 'http://www.technogate.fr'}
          TechnoGate

Add two meta tags to allow the client side to parse the meta and determine dates.
Server: Add two meta tags to allow the client side to parse the meta and determine dates.
