anchor.diff:    });
   
     $('#daterange-btn').on('apply.daterangepicker', function(ev, picker) {
  -      $(this).val(picker.startDate.format('MM/DD/YYYY') + ' - ' + picker.endDate.format('MM/DD/YYYY'));
  +      $(this).val(picker.startDate.format('YYYY-MM-DD') + '_' + picker.endDate.format('YYYY-MM-DD'));
     });
   
     $('#daterange-btn').on('cancel.daterangepicker', function(ev, picker) {
  
positive.code:   <div class="col-md-12">
      <label for="daterange-btn">Intervalo de tempo: </label>
      <div class="input-group">
        <%= text_field_tag :date_range, nil, class: "btn btn-default pull-right", id: "daterange-btn" %>
      </div>
    </div>
  </div>
  
negative.code: 
        <div class="box box-default collapsed-box">
          <div class="box-header with-border">
            <h3 class="box-title">Questões</h3>
            <div class="box-tools pull-right">
              <button class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-plus"></i></button>
            </div><!-- /.box-tools -->
  