2012-02-22 00:14:54 -05:00
|
|
|
!!! 5
|
2016-12-26 05:47:16 -05:00
|
|
|
%html{ lang: "en" }
|
2016-11-29 13:44:07 -05:00
|
|
|
%head
|
2016-12-26 05:47:16 -05:00
|
|
|
%meta{ :content => "width=device-width, initial-scale=1, maximum-scale=1", :name => "viewport" }
|
2016-11-29 13:44:07 -05:00
|
|
|
%title= yield(:title)
|
2018-05-31 17:28:19 -04:00
|
|
|
%style
|
|
|
|
= Rails.application.assets_manifest.find_sources('errors.css').first.to_s.html_safe
|
|
|
|
%body
|
|
|
|
.page-container
|
|
|
|
= yield
|
|
|
|
-# haml-lint:disable InlineJavaScript
|
|
|
|
:javascript
|
|
|
|
(function(){
|
|
|
|
var goBackElement = document.querySelector('.js-go-back');
|
2016-11-29 13:44:07 -05:00
|
|
|
|
2018-05-31 17:28:19 -04:00
|
|
|
if (goBackElement && history.length > 1) {
|
|
|
|
goBackElement.style.display = 'block';
|
|
|
|
}
|
|
|
|
}());
|