 window.DatePickerView = class DatePickerView extends Uniform
+  @::counter = 0
+
   elements: (add) ->
     add('select', 'select')
 


  init: ->
    super

    @select.hide()
    @insert_date_input()

  date_input = ->
    $ """
      <input type="text" class="input-date" />
    """

  insert_date_input: ->

      $input = date_input()
      $input.appendTo(@)
      $input.datepicker(format: 'dd/mm/yyyy')
      $input.siblings('label').attr('for', $input.attr('id'))

  update_select_values: (el) ->
    date_parts = el.value.split('/')
