Sha256: 619b707f8e2a517c594fb29a0e6134b424c5c9cabc740cf8c3ac407ee85e7447

Contents?: true

Size: 569 Bytes

Versions: 1

Compression:

Stored size: 569 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_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.0 app/views/layouts/templates/index.html.erb