Sha256: d6dd963d5ac18a28fdd8dc38c658c7524ab3a15c8f1e94b78ca82a1563a05680

Contents?: true

Size: 535 Bytes

Versions: 5

Compression:

Stored size: 535 Bytes

Contents

.pb--kit-show
  = pb_rails("title", props: { text: pb_title(@kit), tag: "h1", size: "1" })

  .pb--kit-type-nav
    - if has_kit_type?(@kit, "rails")
      a href="#{kit_show_rails_path(@kit)}" class="#{'active' if action_name == 'kit_show_rails'}" Rails
    - if has_kit_type?(@kit, "react")
      a href="#{kit_show_reacts_path(@kit)}" class="#{'active' if action_name == 'kit_show_react'}" React

  - if(action_name == "kit_show_rails")
    = pb_kit(kit: @kit)
    = pb_kit_api(@kit)
  - else
    = pb_kit(kit: @kit, type: "react")

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.7.2 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.7.1 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.7.0 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.6.0 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.5.0 app/views/playbook/pages/kit_show.html.slim