<commit_before>.modal#filter{tabindex: -1, role: 'dialog', aria: {hidden: true, labelledby: 'label_filter'}}
  .modal-dialog
    .modal-content
      .modal-header
        %button.close{data: {dismiss: 'modal'}}
          %span{aria: {hidden: true}}
            &times;
          %span.sr-only Close
        %h4.modal-title#label_filter Filter pictures

      = form_tag(gallery_filter_path(@gallery), method: :get) do
        .modal-body
          .row.form-group
            .col-xs-12.col-sm-3
              = label_tag :tags
            .col-xs-12.col-sm-9
              = text_field_tag :tags, params[:tags], class: 'form-control'
          .row.form-group
            .col-xs-12.col-sm-3
              = label_tag :since
            .col-xs-12.col-sm-9
              = text_field_tag :since, params[:since], class: 'form-control'
          .row.form-group
            .col-xs-12.col-sm-3
              = label_tag :until
            .col-xs-12.col-sm-9
              = text_field_tag :until, params[:until], class: 'form-control'

        .modal-footer
          %button.btn.btn-success{type: :submit}<commit_msg>Hints in gallery filter form.<commit_after>.modal#filter{tabindex: -1, role: 'dialog', aria: {hidden: true, labelledby: 'label_filter'}}
  .modal-dialog
    .modal-content
      .modal-header
        %button.close{data: {dismiss: 'modal'}}
          %span{aria: {hidden: true}}
            &times;
          %span.sr-only Close
        %h4.modal-title#label_filter Filter pictures

      = form_tag(gallery_filter_path(@gallery), method: :get) do
        .modal-body
          .row.form-group
            .col-xs-12.col-sm-3
              = label_tag :tags
            .col-xs-12.col-sm-9
              = text_field_tag :tags, params[:tags], class: 'form-control', placeholder: 'Comma-separated list'
          .row.form-group
            .col-xs-12.col-sm-3
              = label_tag :since
            .col-xs-12.col-sm-9
              = date_field_tag :since, params[:since], class: 'form-control', placeholder: 'YYYY-MM-DD'
          .row.form-group
            .col-xs-12.col-sm-3
              = label_tag :until
            .col-xs-12.col-sm-9
              = date_field_tag :until, params[:until], class: 'form-control', placeholder: 'YYYY-MM-DD'

        .modal-footer
          %button.btn.btn-success{type: :submit}
{'fraction_non_alphanumeric': 0.14328358208955225, 'fraction_numerical': 0.017057569296375266, 'mean_word_length': 1.76, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5030169', 'n_tokens_mistral': 782, 'n_tokens_neox': 755, 'n_words': 134}