Converted ERB layout views to HAML

`@glt_type.nil? || ...`