Sha256: 0f007318ff6c0d539078cc02eaf3c46289af0327ff03ce64003dea3e0e118b51

Contents?: true

Size: 1012 Bytes

Versions: 5

Compression:

Stored size: 1012 Bytes

Contents

!!! 5
/
  #{__FILE__}
%html{attributes}
  %head
    %meta{:name => :viewport,
          :content => 'width=device-width, initial-scale=1'}
    %link{:rel => 'stylesheet',
          :href => 'http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.css'}
    %link{:rel => 'stylesheet',
          :href => "/#{RubyApp::Language.locale.code}/document.css"}
    %script{:src => 'http://code.jquery.com/jquery-1.7.1.js'}
    %script{:src => 'http://code.jquery.com/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.js'}
    %script{:src => "/#{RubyApp::Language.locale.code}/document.js"}
    %meta{:name => :session, :content => RubyApp::Session.session_id}
    - RubyApp::Request.query.each do |name, value|
      %meta{:name => name, :content => value}
    %meta{:name => :locale, :content => RubyApp::Language.locale.code}
    %meta{:name => :error_message, :content => RubyApp::Elements::Mobile::Document.translate.error_message}
  %body
    - self.pages.reverse.each do |page|
      = page.render(:html)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
RubyApp-0.5.12 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.11 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.10 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.9 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.0 lib/ruby_app/elements/mobile/document.html.haml