Sha256: 69a8a291e71b7bdf322862aed1b5306f99791404ad05fc7653ed42fad562f7ca

Contents?: true

Size: 678 Bytes

Versions: 5

Compression:

Stored size: 678 Bytes

Contents

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

    <link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
    <%= 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

5 entries across 5 versions & 1 rubygems

Version Path
templates-rails-0.1.6 app/views/layouts/templates/index.html.erb
templates-rails-0.1.5 app/views/layouts/templates/index.html.erb
templates-rails-0.1.4 app/views/layouts/templates/index.html.erb
templates-rails-0.1.3 app/views/layouts/templates/index.html.erb
templates-rails-0.1.2 app/views/layouts/templates/index.html.erb