summaryrefslogtreecommitdiff
path: root/app/views/emojis/index.html.haml
blob: 97401a2e618eca912784df91c5baaaf28ae8a784 (plain)
1
2
3
4
5
6
7
8
9
10
11
.emoji-menu
  .emoji-menu-content
    = text_field_tag :emoji_search, "", class: "emoji-search search-input form-control"
    - 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"])