Sha256: 12d57b4d39a2832eff4aec072158e2b112044f6f9f93d96761dc33e7b07cace1

Contents?: true

Size: 575 Bytes

Versions: 4

Compression:

Stored size: 575 Bytes

Contents

<% tabs = Nexmo::OAS::Renderer::Presenters::ResponseTabs.new(format, response, content) %>

<div class='Vlt-tabs js-format' data-format='<%= tabs.format %>'>
  <div class='Vlt-tabs__header' role='tablist' aria-label='Responses'>
    <% tabs.tab_links.each do |link| %>
      <div class='<%= link.css_classes %>'>
        <%= link.content %>
      </div>
    <% end %>
  </div>
  <div class='Vlt-tabs__content'>
    <% tabs.tab_panels.each do |panel| %>
      <div class='<%= panel.css_classes %>'>
        <%= erb *panel.content %>
      </div>
    <% end %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nexmo-oas-renderer-0.5.1 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.5.0 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.4.1 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.4.0 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb