Sha256: 06e6fc30bb612d5d6999988a62347c19e862ea90786b7dbe53d88cc55469363f

Contents?: true

Size: 501 Bytes

Versions: 5

Compression:

Stored size: 501 Bytes

Contents

<% input_fields.each do |field| %>

<div class="field-entry <%= classes[:field_entry] %>">
  <span id="<%= slugify.(field[:name]) %>" class="field-name"><%= field[:name] %> (<a href="<%= base_url %>/<%= field[:type][:path] %>"><code><%= field[:type][:info] %></code></a>)</span>

  <div class="description-wrapper">
    <%= field[:description] %>

    <% unless field[:arguments].empty? %>
      <%= include.('arguments.html', arguments: field[:arguments]) %>
    <% end %>
  </div>
</div>

<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
graphql-docs-1.2.0 lib/graphql-docs/layouts/includes/input_fields.html
graphql-docs-1.1.0 lib/graphql-docs/layouts/includes/input_fields.html
graphql-docs-1.0.2 lib/graphql-docs/layouts/includes/input_fields.html
graphql-docs-1.0.1 lib/graphql-docs/layouts/includes/input_fields.html
graphql-docs-1.0.0 lib/graphql-docs/layouts/includes/input_fields.html