BigW Consortium Gitlab

index.html.haml 576 Bytes
Newer Older
1
.emoji-menu
2
  = text_field_tag :emoji_search, "", class: "emoji-search search-input form-control", placeholder: "Search emoji"
3
  .emoji-menu-content
4
    - Gitlab::AwardEmoji.emoji_by_category.each do |category, emojis|
5
      %h5.emoji-menu-title
6
        = Gitlab::AwardEmoji::CATEGORIES[category]
7
      %ul.clearfix.emoji-menu-list
8
        - emojis.each do |emoji|
9 10 11
          %li.pull-left.text-center.emoji-menu-list-item
            %button.emoji-menu-btn.text-center.js-emoji-btn{type: "button"}
              = emoji_icon(emoji["name"], emoji["unicode"], emoji["aliases"])