{{#if selected_emoji}}
    {{#if selected_emoji.emoji_alt_code}}
        <div class="emoji_alt_code">&nbsp:{{selected_emoji.emoji_name}}:</div>
    {{else}}
        {{#if selected_emoji.url}}
        <img src="{{selected_emoji.url}}" class="emoji selected_emoji" />
        {{else}}
        <div class="emoji selected_emoji emoji-{{selected_emoji.emoji_code}}"></div>
        {{/if}}
    {{/if}}
{{else}}
    <a type="button" class="smiley_icon show fa fa-smile-o"></a>
{{/if}}
