     $(".error-message").hide()
   )
 
-#** Reload hidden close_date field **
+# Reload hidden close_date field
 $ ->
   $("#input_date").change((e) ->
     date = $(this).val()

      $('#new_vote').submit()
  )

#** character count for title on discussion:new page **
$ ->
  $(".limit").keyup(() ->
    $(".error-message").hide()

    $("#motion_close_date").val(local_datetime)
  )

# character count for statement on discussion:show page
pluralize_characters = ((num) ->
  if(num == 1)
    return num + " character"
