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