Sha256: bfbecb3e691039aa04a1525ba6149286da10e218dd26395113a9654e904812de
Contents?: true
Size: 699 Bytes
Versions: 3
Compression:
Stored size: 699 Bytes
Contents
<!DOCTYPE html> <html> <head> <title><%%= content_for?(:title) ? yield(:title) : "Untitled" %></title> <%% stylesheet "<%= file_name %>" %> <%% javascript :defaults %> <%%= csrf_meta_tag %> <%%= yield(:stylesheets) %> </head> <body> <div id="container"> <%% flash.each do |name, msg| %> <%%= content_tag :div, msg, :id => "flash_#{name}" %> <%% end %> <%%= content_tag :h1, yield(:title) if show_title? %> <%%= yield %> </div> <%%= yield(:javascripts) %> <%% if content_for?(:onload_scripts) %> <%%= javascript_tag "$(document).ready(function() { #{yield(:onload_scripts)} });" %> <%% end %> </body> </html>
Version data entries
3 entries across 3 versions & 1 rubygems