Sha256: 1f2723ea958b0fb2f4ce79ba2dc93b5f63a516744209a54b6fae5f3fa117a0f7

Contents?: true

Size: 457 Bytes

Versions: 6

Compression:

Stored size: 457 Bytes

Contents

<!DOCTYPE html>
<html>
  <head>
    <title><%= "#{@title} | " unless @title.blank? %>Dummy</title>
    <%= stylesheet_link_tag    "application", :media => "all" %>
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>
  </head>
  <body>
    <% flash.each do |key, msg| %>
      <%= content_tag(:div, msg, class: "flash #{key}") %>
    <% end %>
    <%= content_tag(:h1, @title) unless @title.blank? %>
    <%= yield %>
  </body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_resource-0.6.1 spec/dummy/app/views/layouts/application.html.erb
simple_resource-0.6.0 spec/dummy/app/views/layouts/application.html.erb
simple_resource-0.5.0 spec/dummy/app/views/layouts/application.html.erb
simple_resource-0.4.0 spec/dummy/app/views/layouts/application.html.erb
simple_resource-0.3.0 spec/dummy/app/views/layouts/application.html.erb
simple_resource-0.2.0 spec/dummy/app/views/layouts/application.html.erb