Sha256: f117dfbafcfc2cfce3a796d0c698b1e1593a91883e4fc33230623fd919d7b2f8

Contents?: true

Size: 919 Bytes

Versions: 15

Compression:

Stored size: 919 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}
    %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)

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
RubyApp-0.5.51 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.50 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.49 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.48 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.47 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.46 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.45 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.44 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.43 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.42 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.41 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.40 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.39 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.38 lib/ruby_app/elements/mobile/document.html.haml
RubyApp-0.5.37 lib/ruby_app/elements/mobile/document.html.haml