Sha256: 3d3c740c085bac2c5be27f530faef874e6656e806dda3a9ab74be65c004291a8

Contents?: true

Size: 939 Bytes

Versions: 1

Compression:

Stored size: 939 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)
    %div.ui-overlay

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
RubyApp-0.5.63 lib/ruby_app/elements/mobile/document.html.haml