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