Sha256: 116d69bb49e2d95f5e884e0c713df80edcc21565a9f6e8faeeb4b91ef8eaa9c8

Contents?: true

Size: 927 Bytes

Versions: 19

Compression:

Stored size: 927 Bytes

Contents

<%if !@kit_examples[:examples].nil? %>
  <% if @limit_examples %>
    <% @kit_examples[:examples].each_with_index do |kit_example, index| %>
      <% kit_example.each do |key, item| %>
        <% if index == 0 %>
          <%= pb_rails("card", props: { classname: "pb--doc", padding:"none" }) do %>
            <%= render partial: "config/kit_ui", locals: { key: key, type: @type, item: item, show_code: @show_code } %>
          <% end %>
        <% elsif index > 0 %>
          <% break %>
        <% end %>
      <% end %>
    <% end %>
  <% else %>
    <% @kit_examples[:examples].each do |kit_example| %>
      <% kit_example.each do |key, item| %>
        <%= pb_rails("card", props: { classname: "pb--doc", padding:"none" }) do %>
          <%= render partial: "config/kit_ui", locals: { key: key, type: @type, item: item, show_code: @show_code } %>
        <% end %>
      <% end %>
    <% end %>
  <% end %>
<% end %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
playbook_ui-7.16.0.pre.alpha5 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.16.0.pre.alpha4 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.16.0.pre.alpha3 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.16.0.pre.alpha2 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.16.0.pre.alpha1 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.14.0.pre.alpha1 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.16.0 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.15.1 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.15.0 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.14.0 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.13.0.pre.alpha1 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.13.0 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.12.1 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.12.0 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.11.1 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.11.0 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.10.0 app/pb_kits/playbook/config/_kit_example.html.erb
playbook_ui-7.9.0 app/pb_kits/playbook/config/_kit_example.html.erb