Sha256: e71d90d2d8ac0d1c8568923f6c37e16c1626a9c4a7ba19149f531be452e95e56

Contents?: true

Size: 701 Bytes

Versions: 6

Compression:

Stored size: 701 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 Vlt-tabs__header--bordered' 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

6 entries across 6 versions & 1 rubygems

Version Path
nexmo-oas-renderer-0.11.3 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.11.2 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.11.1 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.11.0 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.10.0 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb
nexmo-oas-renderer-0.9.0 lib/nexmo/oas/renderer/views/open_api/_response_tabs.erb