Sha256: 33bb8182dfce6990ee62c38328181b72b3db50b1172e3edd3405025dab4963fc

Contents?: true

Size: 855 Bytes

Versions: 5

Compression:

Stored size: 855 Bytes

Contents

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

    <%= csrf_meta_tags %>
    <%= csp_meta_tag rescue nil %>

    <%= render partial: "rest_framework/head" %>

    <%= 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

5 entries across 5 versions & 1 rubygems

Version Path
rest_framework-1.0.0.beta2 app/views/layouts/rest_framework.html.erb
rest_framework-1.0.0.beta1 app/views/layouts/rest_framework.html.erb
rest_framework-0.11.0 app/views/layouts/rest_framework.html.erb
rest_framework-0.10.0 app/views/layouts/rest_framework.html.erb
rest_framework-0.9.16 app/views/layouts/rest_framework.html.erb