BigW Consortium Gitlab

index.html.haml 533 Bytes
Newer Older
1 2 3 4
.emoji-menu
  .emoji-menu-content
    = text_field_tag :emoji_search, "", class: "emoji-search search-input form-control"
    - AwardEmoji.emoji_by_category.each do |category, emojis|
5 6 7
      %h5.emoji-menu-title
        = AwardEmoji::CATEGORIES[category]
      %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"])