Sha256: 1f01adb67d90272547648db3a60c3a3108c5e5daa1d8d78aca8b4c76225ce41b

Contents?: true

Size: 1.03 KB

Versions: 15

Compression:

Stored size: 1.03 KB

Contents

!!! 5
/
  #{__FILE__}
%html{self.attributes}
  %head
    - self.metadata.each do |name, value|
      %meta{'name'    => name,
            'content' => value}
    - self.links.each do |name, value|
      %link{'rel'     => name,
            'href'    => value}
    - self.stylesheets.each do |stylesheet|
      %link{'rel'     => 'stylesheet',
            'href'    => stylesheet}
    %link{'rel'       => 'stylesheet',
          'href'      => "/#{RubyApp::Language.locale.code}/document.css"}
    - self.scripts.each do |script|
      %script{'src'   => script}
    %script{'src'     => "/#{RubyApp::Language.locale.code}/document.js"}

    %meta{'name'      => 'session',        
          'content'   => RubyApp::Session.session_id}
    %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)
    %div.overlay

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
RubyApp-0.6.57 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.53 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.52 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.51 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.50 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.49 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.48 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.47 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.46 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.45 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.44 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.43 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.42 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.41 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.6.40 lib/ruby_app/elements/mobile/document.html.haml