Sha256: dbea270af4f7ca266933b858f26a9a9a3c4ca92bc3efcc945265a96763411a83

Contents?: true

Size: 539 Bytes

Versions: 12

Compression:

Stored size: 539 Bytes

Contents

.pb--kit-show
  = pb_rails("title", props: { text: pb_kit_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

12 entries across 12 versions & 1 rubygems

Version Path
playbook_ui-2.9.3 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.9.2 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.9.1 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.9.0 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.8.9 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.8.8 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.8.7 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.8.6 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.8.5 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.8.4 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.8.3 app/views/playbook/pages/kit_show.html.slim
playbook_ui-2.8.1 app/views/playbook/pages/kit_show.html.slim