Sha256: dec0e75c778c20dc195a8d4322369828915c8501dd1f1acbcd1f67164264f021
Contents?: true
Size: 935 Bytes
Versions: 15
Compression:
Stored size: 935 Bytes
Contents
- tag_field_groups = FieldGroup.where(tag_id: tag.id) - model_tagging_counts = tag.model_tagging_counts %li.highlight[tag] .tools = link_to_edit(tag, :url => edit_admin_tag_path(tag)) << " |" - if tag_field_groups.any? %span{:style => "color: #777"} Delete - else - if model_tagging_counts.any? = link_to_confirm(tag) - else = link_to_delete(tag, :url => url_for([:admin, tag])) %span.black= tag.name %tt - if model_tagging_counts.any? = t(:tagged) + ":" = model_tagging_counts.map {|k, c| t(pluralize(c, k.downcase)) }.join(", ") - if tag_field_groups.any? %dt{ :style => "padding: 2px 0px 0px 0px" } = t(:field_group_tags) + ":" - tag_field_groups.each_with_index do |field_group, i| %strong= field_group.label_i18n on %strong= field_group.klass_name.pluralize - if i < tag_field_groups.size - 1 = "|"
Version data entries
15 entries across 15 versions & 2 rubygems