Sha256: c5c83371426d2f62f43275593e42ebf5f8c0abb33e008d824722642b87fdb305

Contents?: true

Size: 581 Bytes

Versions: 1

Compression:

Stored size: 581 Bytes

Contents

<!DOCTYPE html>
<html>
  <head>
    <title><%= yield(:title) if content_for?(:title) %></title>
    <meta name="viewport" content="width=device-width,initial-scale=1">

    <%= stylesheet_link_tag 'templates/application', media: 'all' %>
  </head>

  <body class="templates">
    <div class="templates__header">
      <div>
        <h1><%= yield(:title) if content_for?(:title) %></h1>
        <%= link_to 'Go Back', templates_engine.root_path if params[:id].present? %>
      </div>
    </div>

    <div class="templates__content">
      <%= yield %>
    </div>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
templates-rails-0.1.1 app/views/layouts/templates/index.html.erb