Sha256: e4985fb4da75f68cf5d87210e5f5eee0678e9eb6e039c40d5faae9892e200e8f

Contents?: true

Size: 674 Bytes

Versions: 4

Compression:

Stored size: 674 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 role='tab' 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

4 entries across 4 versions & 1 rubygems

Version Path
nexmo-oas-renderer-0.8.0 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.7.1 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.7.0 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.6.6 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb