.modal.fade id=“#{report}_year” tabindex=“-1” role=“dialog” aria-labelledby=“pickDate”

.modal-dialog.modal-sm
  form.modal-content action="#{url}" method="GET"
    .modal-content
      .modal-header
        h4.modal-title Selecciona un año...
      .modal-body
        .row
          .col-xs-12
            == year_input({ :name => "date", :value => Date.today.year, :title => "Año de referencia", :required => true })

      .modal-footer
        button.btn.btn-link.waves-effect data-dismiss="modal" type="button"  Cerrar
        button.btn.btn-link.waves-effect type="submit" Descargar reporte