Sha256: 6ac8a032330b2c475dcf773af5c52323e114ba53a2154ac8305b165a9cf6fd42

Contents?: true

Size: 967 Bytes

Versions: 8

Compression:

Stored size: 967 Bytes

Contents

<!doctype html>
<html lang="en" class="rrf-mode">
  <head>
    <title><%= @title %></title>

    <%# These dynamic tags cannot be cached, so include directly instead of in `head` partial. %>
    <%= csrf_meta_tags %>
    <%= csp_meta_tag rescue nil %>

    <%= render partial: "rest_framework/head", cached: true %>

    <%= yield :head %>
  </head>

  <body>
    <header>
      <%= render partial: "rest_framework/header" %>
    </header>
    <div class="container py-3">
      <%= render partial: "rest_framework/breadcrumbs" unless @hide_breadcrumbs %>
      <%= render partial: "rest_framework/heading" unless @hide_heading %>
      <%= render partial: "rest_framework/request_metadata" unless @hide_request_metadata %>
      <%= yield %>
      <%= render partial: "rest_framework/payloads" if @json_payload.present? || @xml_payload.present? %>
      <%= render partial: "rest_framework/routes_and_forms" if @route_groups.present? %>
    </div>
  </body>
</html>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rest_framework-0.9.15 app/views/layouts/rest_framework.html.erb
rest_framework-0.9.14 app/views/layouts/rest_framework.html.erb
rest_framework-0.9.12.pre.1.pre.g39306cb app/views/layouts/rest_framework.html.erb
rest_framework-0.9.11.pre.40.pre.g5dcad32 app/views/layouts/rest_framework.html.erb
rest_framework-0.9.11 app/views/layouts/rest_framework.html.erb
rest_framework-0.9.10 app/views/layouts/rest_framework.html.erb
rest_framework-0.9.9 app/views/layouts/rest_framework.html.erb
rest_framework-0.9.8 app/views/layouts/rest_framework.html.erb