Sha256: 52852e73d696ca1c83ed0de3e58ec3121b93763d92541c151f595d097a1eab0b

Contents?: true

Size: 392 Bytes

Versions: 12

Compression:

Stored size: 392 Bytes

Contents

ul.nav.nav-pills
  - @model.available_tabs.each do |nav_item|
    li.nav-item
	    - nav_item_action_name = nav_item.custom_action.present? ? nav_item.custom_action : 'show'
	    = link_to nav_item.nav_item_name.to_s.titleize, "/cm_admin/#{@model.name.underscore.pluralize}/#{@ar_object.id}/#{nav_item.custom_action}", class: "nav-link #{ nav_item_action_name == action_name ? 'active' : ''}"

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cm-admin-0.5.7 app/views/cm_admin/main/_tabs.html.slim
cm-admin-0.5.6 app/views/cm_admin/main/_tabs.html.slim
cm-admin-0.5.5 app/views/cm_admin/main/_tabs.html.slim
cm-admin-0.5.4 app/views/cm_admin/main/_tabs.html.slim
cm-admin-0.5.3 app/views/cm_admin/main/_tabs.html.slim
cm-admin-0.5.2 app/views/cm_admin/main/_tabs.html.slim
cm-admin-0.5.0 app/views/cm_admin/main/_tabs.html.slim
cm-admin-0.4.4 app/views/cm_admin/main/_tabs.html.slim
cm-admin-0.4.3 app/views/cm_admin/main/_tabs.html.slim
cm-admin-0.4.2 app/views/cm_admin/main/_tabs.html.slim
cm-admin-0.4.1 app/views/cm_admin/main/_tabs.html.slim
cm-admin-0.4.0 app/views/cm_admin/main/_tabs.html.slim