summaryrefslogtreecommitdiff
path: root/app/views/emojis/index.html.haml
blob: 790d90ad3ee5f5b52de5bf9a7aca479ce9765831 (plain)
1
2
3
4
5
6
7
8
9
10
11
.emoji-menu
  = text_field_tag :emoji_search, "", class: "emoji-search search-input form-control", placeholder: "Search emoji"
  .emoji-menu-content
    - Gitlab::AwardEmoji.emoji_by_category.each do |category, emojis|
      %h5.emoji-menu-title
        = Gitlab::AwardEmoji::CATEGORIES[category]
      %ul.clearfix.emoji-menu-list
        - emojis.each do |emoji|
          %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"])