lib/wice/columns/column_string.rb
def render_filter_internal(params) #:nodoc:
        @contains_a_text_input = true
        css_class = 'form-control input-sm ' + (auto_reload ? 'auto-reload' : '')

        if negation
          self.auto_reloading_input_with_negation_checkbox = true if auto_reload

          @query, _, parameter_name, @dom_id = form_parameter_name_id_and_query(v: '')
          @query2, _, parameter_name2, @dom_id2 = form_parameter_name_id_and_query(n: '')

          '<div class="text-filter-container">' +
            text_field_tag(parameter_name, params[:v], size: 8, id: @dom_id, class: css_class) +
            if defined?(Wice::Defaults::NEGATION_CHECKBOX_LABEL) && !Wice::ConfigurationProvider.value_for(:NEGATION_CHECKBOX_LABEL).blank?
              Wice::ConfigurationProvider.value_for(:NEGATION_CHECKBOX_LABEL)
            else
              ''
            end +
            check_box_tag(parameter_name2, '1', (params[:n] == '1'),
                          id: @dom_id2,
                          title: NlMessage['negation_checkbox_title'],
                          class: "negation-checkbox #{css_class}") +
            '</div>'
        else
          @query, _, parameter_name, @dom_id = form_parameter_name_id_and_query('')
          text_field_tag(parameter_name, (params.blank? ? '' : params), size: 8, id: @dom_id, class: css_class)
        end
      end
# whether the filter contains a negation checkbox
whether the filter contains a negation checkbox
whether the filter contains a negation checkbox
def render_filter_internal(params) 
        @contains_a_text_input = true
        css_class = 'form-control input-sm ' + (auto_reload ? 'auto-reload' : '')
        if negation
          self.auto_reloading_input_with_negation_checkbox = true if auto_reload
          @query, _, parameter_name, @dom_id = form_parameter_name_id_and_query(v: '')
          @query2, _, parameter_name2, @dom_id2 = form_parameter_name_id_and_query(n: '')
          '<div class="text-filter-container">' +
            text_field_tag(parameter_name, params[:v], size: 8, id: @dom_id, class: css_class) +
            if defined?(Wice::Defaults::NEGATION_CHECKBOX_LABEL) && !Wice::ConfigurationProvider.value_for(:NEGATION_CHECKBOX_LABEL).blank?
              Wice::ConfigurationProvider.value_for(:NEGATION_CHECKBOX_LABEL)
            else
              ''
            end +
            check_box_tag(parameter_name2, '1', (params[:n] == '1'),
                          id: @dom_id2,
                          title: NlMessage['negation_checkbox_title'],
                          class: "negation-checkbox #{css_class}") +
            '</div>'
        else
          @query, _, parameter_name, @dom_id = form_parameter_name_id_and_query('')
          text_field_tag(parameter_name, (params.blank? ? '' : params), size: 8, id: @dom_id, class: css_class)
        end
      end
def render_filter_internal ( params ) @contains_a_text_input = true css_class = 'form-control input-sm ' + ( auto_reload ? 'auto-reload' : '' ) if negation self . auto_reloading_input_with_negation_checkbox = true if auto_reload @query , _ , parameter_name , @dom_id = form_parameter_name_id_and_query ( v : '' ) @query2 , _ , parameter_name2 , @dom_id2 = form_parameter_name_id_and_query ( n : '' ) '<div class="text-filter-container">' + text_field_tag ( parameter_name , params [ :v ] , size : 8 , id : @dom_id , class : css_class ) + if defined? ( Wice :: Defaults :: NEGATION_CHECKBOX_LABEL ) && ! Wice :: ConfigurationProvider . value_for ( :NEGATION_CHECKBOX_LABEL ) . blank? Wice :: ConfigurationProvider . value_for ( :NEGATION_CHECKBOX_LABEL ) else '' end + check_box_tag ( parameter_name2 , '1' , ( params [ :n ] == '1' ) , id : @dom_id2 , title : NlMessage [ 'negation_checkbox_title' ] , class : "negation-checkbox #{css_class}" ) + '</div>' else @query , _ , parameter_name , @dom_id = form_parameter_name_id_and_query ( '' ) text_field_tag ( parameter_name , ( params . blank? ? '' : params ) , size : 8 , id : @dom_id , class : css_class ) end end
whether the filter contains a negation checkbox
whether the filter contains a negation checkbox
#:nodoc:
params