<commit_before>.content
  .list-view.channel-settings
    .title
      %h2 Room Info
    %form
      %ul.list.clearfix
        - for field <- @channel do
          = flex_form_line(field)
    - if has_permission? @current_user, "delete-" <> Permission.room_type(@channel_type) do
      %nav
        %button.button.danger.delete(title="#{~g(Delete)}")
          %i.icon-trash<commit_msg>filter info for directs<commit_after>.content
  .list-view.channel-settings
    .title
      %h2 Room Info
    %form
      %ul.list.clearfix
        - for field <- @channel do
          - Logger.warn "field: #{inspect field}"
          - if @channel_type == 2 do
            - if field[:name] == "topic" do
              = flex_form_line(field)
          - else
            = flex_form_line(field)

    - if has_permission? @current_user, "delete-" <> Permission.room_type(@channel_type) do
      %nav
        %button.button.danger.delete(title="#{~g(Delete)}")
          %i.icon-trash
{'fraction_non_alphanumeric': 0.13388259526261587, 'fraction_numerical': 0.003089598352214212, 'mean_word_length': 2.1054313099041533, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3220066', 'n_tokens_mistral': 318, 'n_tokens_neox': 304, 'n_words': 60}