Sha256: 64465ab40f7da5c48845913adf8fffa13096c59b04dffb3c6095c3f2d403ff47
Contents?: true
Size: 585 Bytes
Versions: 4
Compression:
Stored size: 585 Bytes
Contents
%ul.ui-tabs-nav.ui-helper-reset.ui-helper-clearfix.ui-widget-header.ui-corner-all - %w(picture pdf video audio media doc).each do |file_type| - span = content_tag(:span, I18n.t(:other, :scope => [:media, file_type]).capitalize, :class => "small-icons #{file_type}") - if (file_type == @file_type.to_s) || (@media && file_type == @media.class.to_s.downcase) %li.ui-state-default.ui-corner-top.ui-tabs-selected.ui-state-active= link_to span, '#content' - else %li.ui-state-default.ui-corner-top= link_to span, [forgeos_core, :admin, file_type.pluralize.to_sym]
Version data entries
4 entries across 4 versions & 1 rubygems