Sha256: b730058028980dffa99e85131217b4008e0223225cf33e1f9c0b1bb9efd9eba7

Contents?: true

Size: 749 Bytes

Versions: 6

Compression:

Stored size: 749 Bytes

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}
    - self.scripts.each do |script|
      %script{:src => script}

    %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)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
RubyApp-0.5.36 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.35 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.34 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.33 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.32 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.31 lib/ruby_app/elements/mobile/document.html.haml