Sha256: 1f10e295082bd50a01bc36438b68cc143a516474fcb75c2b2d55c09e3a193baf

Contents?: true

Size: 663 Bytes

Versions: 8

Compression:

Stored size: 663 Bytes

Contents

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

<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 %>' <% if link.data_tab_link %>data-tab-link="<%= link.data_tab_link %>"<% end %>>
        <%= 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

8 entries across 8 versions & 1 rubygems

Version Path
nexmo-oas-renderer-0.6.5 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.6.4 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.6.3 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.6.2 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.6.1 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.5.6 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.5.5 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.5.4 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb