Created
June 7, 2017 01:38
-
-
Save StaverDmitry/89fd8140f0237f705176838cb1fc2544 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title><%= title %></title> | |
<meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Sail CRM" %>"> | |
<%= favicon_link_tag %> | |
<%= javascript_include_tag 'forecasts' %> | |
<%= stylesheet_link_tag 'forecasts', media: 'all' %> | |
<%= csrf_meta_tags %> | |
</head> | |
<body class="<%= controller_name %> <%= action_name %>"> | |
<% if content_for?(:header) %> | |
<%= yield(:header) %> | |
<% else %> | |
<%= render partial: 'forecasts/header' %> | |
<% end %> | |
<div class='container' id='forecast-body'> | |
<%= yield %> | |
</div> | |
<% if content_for?(:footer) %> | |
<%= yield(:footer) %> | |
<% else %> | |
<%= render partial: 'forecasts/footer' %> | |
<% end %> | |
</body> | |
<%= render partial: 'forecasts/pusher_init' %> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment