Files
growstuff/app/views/layouts/application.html.haml
Brenda Wallace f8a404a88b Merge remote-tracking branch 'upstream/dev' into upgrade/rails-5
Conflicts:
	Gemfile
	Gemfile.lock
	app/models/crop.rb
	app/models/forum.rb
	app/models/photo.rb
	app/models/planting.rb
	app/models/seed.rb
	db/schema.rb
	spec/models/garden_spec.rb
	spec/models/planting_spec.rb
2018-04-28 21:25:06 +12:00

30 lines
855 B
Plaintext

!!! 5
%html{ lang: "en", prefix: "og: http://ogp.me/ns#" }
= yield :scripts
= render partial: "layouts/meta"
%body
= render partial: "layouts/header"
#maincontainer
.row
.col-md-12
- if content_for?(:title)
%h1#title
= yield(:title)
- if content_for?(:subtitle)
%small= yield(:subtitle)
- if content_for?(:buttonbar)
.btn-group.layout-actions= yield(:buttonbar)
= render partial: "shared/flash_messages", flash: flash
= yield
%footer
= render partial: "layouts/footer"
/
Javascripts
\==================================================
/ Placed at the end of the document so the pages load faster
= javascript_include_tag "application"
!= Rails.application.config.analytics_code