Sha256: 7fae9b70ac5f6f71434c8cfdfee155b856487995ea405e0eb5046efb5f1aaaa2

Contents?: true

Size: 623 Bytes

Versions: 1

Compression:

Stored size: 623 Bytes

Contents

- if partials.show?(:tags)
  - b.tool name: t(:tags) do
    - b.tag_selector do |o|
      - o.selected @selected_tags
      - o.selected_tag_to_link lambda{|tag| link_to tag.name, action_name, {_tags: remove_tag(tag.name)}}
      / TODO2 move this to somewhere else
      - top_tags = Models::Tag.where(context: {_exists: false}).limit(rad.kit.tags_count).sort([:count, -1]).all
      - o.tags top_tags.sort{|a, b| a.name <=> b.name}
      / - o.tag_to_link lambda{|tag| link_to tag.name, {_tags: add_tag(tag.name)}, title: t(:tags_count, count: tag.count)}
      - o.tag_to_link lambda{|tag| tag_link(tag.name, tag.count)}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_kit-0.0.10 app/views/tools/_tags.html.haml