.conversation.clear.border
  .history-settings
    -unless @hideHistoryLoading
      %a.left.load-history{href: '#'} #{I18n.t('chat.history.load')}

    %input.hidden{ type: 'checkbox', name: 'enable-history', value: '1', id: 'ihistory', checked: 'checked'}
    %label.right.action.enabled{ for: 'ihistory' } #{I18n.t('chat.history.disable')}
    %label.right.action.disabled.hidden{ for: 'ihistory' } #{I18n.t('chat.history.enable')}
    %span.right.current.enabled #{I18n.t('chat.history.enabled')}
    %span.right.current.disabled.hidden #{I18n.t('chat.history.disabled')} #{I18n.t('chat.history.disabled_warning')}
  .messages#height-setter-2
    -for view in @history
      #{view}
  != JST['backbone/templates/chat/message_writer']()