prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Jupyterhub 0.8.0 radio buttons unclickable or ugly due to form-control class
  ```
  jupyterhub --version
  0.8.0
  ```
  
  I have some radio buttons in my spawner's `_option_form_default`:
  
  ```
  return """<label for="type">Which type of instance do you want to launch?</label>
          <table>
          <tr>
          <td><input type="radio" name="type" value="c4.8xlarge" checked="checked"></td>
          <td>&nbsp;c4.8xlarge (36 CPU, 60GB RAM, $1.591/h)</td>
          </tr>
          <tr>
          <td><input type="radio" name="type" value="r4.8xlarge"></td>
          <td>&nbsp;r4.8xlarge (32 CPU, 244GB RAM, $2.341/h)</td>
          </tr>
          </table><br>
          """
  ```
  
  In `0.8.0` version these are unclickable. Removing `form-control` class introduced [here](https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/templates/spawn.html) fixes the issue for me. 
  
  I also tried buttons like this:
  
  ```
          <tr>
          <td><label>
          <input type="radio" name="type" value="c4.8xlarge">
          &nbsp;c4.8xlarge (36 CPU, 60GB RAM, $1.591/h)
          </label></td>
          </tr>
  ```
  
  These are clickable but look ugly with the `form-control` class. 
  
  Removing the `form-control` class makes them both clickable and pretty :) 
  
  </issue>
  <code>
  [start of jupyterhub/_version.py]
  1 """JupyterHub version info"""
  2 
  3 # Copyright (c) Jupyter Development Team.
  4 # Distributed under the terms of the Modified BSD License.
  5 
  6 version_info = (
  7     0,
  8     8,
  9     2,
  10     'dev',
  11 )
  12 
  13 __version__ = '.'.join(map(str, version_info))
  14 
  15 
  16 def _check_version(hub_version, singleuser_version, log):
  17     """Compare Hub and single-user server versions"""
  18     if not hub_version:
  19         log.warning("Hub has no version header, which means it is likely < 0.8. Expected %s", __version__)
  20         return
  21 
  22     if not singleuser_version:
  23         log.warning("Single-user server has no version header, which means it is likely < 0.8. Expected %s", __version__)
  24         return
  25 
  26     # compare minor X.Y versions
  27     if hub_version != singleuser_version:
  28         from distutils.version import LooseVersion as V
  29         hub_major_minor = V(hub_version).version[:2]
  30         singleuser_major_minor = V(singleuser_version).version[:2]
  31         extra = ""
  32         if singleuser_major_minor == hub_major_minor:
  33             # patch-level mismatch or lower, log difference at debug-level
  34             # because this should be fine
  35             log_method = log.debug
  36         else:
  37             # log warning-level for more significant mismatch, such as 0.8 vs 0.9, etc.
  38             log_method = log.warning
  39             extra = " This could cause failure to authenticate and result in redirect loops!"
  40         log_method(
  41             "jupyterhub version %s != jupyterhub-singleuser version %s." + extra,
  42             hub_version,
  43             singleuser_version,
  44         )
  45     else:
  46         log.debug("jupyterhub and jupyterhub-singleuser both on version %s" % hub_version)
  47
  [end of jupyterhub/_version.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/jupyterhub/_version.py b/jupyterhub/_version.py
  --- a/jupyterhub/_version.py
  +++ b/jupyterhub/_version.py
  @@ -6,8 +6,8 @@
   version_info = (
       0,
       8,
  -    1,
  -    # 'dev',
  +    2,
  +    'dev',
   )
   
   __version__ = '.'.join(map(str, version_info))
  
verification_info: {"golden_diff": "diff --git a/jupyterhub/_version.py b/jupyterhub/_version.py\n--- a/jupyterhub/_version.py\n+++ b/jupyterhub/_version.py\n@@ -6,8 +6,8 @@\n version_info = (\n     0,\n     8,\n-    1,\n-    # 'dev',\n+    2,\n+    'dev',\n )\n \n __version__ = '.'.join(map(str, version_info))\n", "issue": "Jupyterhub 0.8.0 radio buttons unclickable or ugly due to form-control class\n```\r\njupyterhub --version\r\n0.8.0\r\n```\r\n\r\nI have some radio buttons in my spawner's `_option_form_default`:\r\n\r\n```\r\nreturn \"\"\"<label for=\"type\">Which type of instance do you want to launch?</label>\r\n        <table>\r\n        <tr>\r\n        <td><input type=\"radio\" name=\"type\" value=\"c4.8xlarge\" checked=\"checked\"></td>\r\n        <td>&nbsp;c4.8xlarge (36 CPU, 60GB RAM, $1.591/h)</td>\r\n        </tr>\r\n        <tr>\r\n        <td><input type=\"radio\" name=\"type\" value=\"r4.8xlarge\"></td>\r\n        <td>&nbsp;r4.8xlarge (32 CPU, 244GB RAM, $2.341/h)</td>\r\n        </tr>\r\n        </table><br>\r\n        \"\"\"\r\n```\r\n\r\nIn `0.8.0` version these are unclickable. Removing `form-control` class introduced [here](https://github.com/jupyterhub/jupyterhub/blob/master/share/jupyter/hub/templates/spawn.html) fixes the issue for me. \r\n\r\nI also tried buttons like this:\r\n\r\n```\r\n        <tr>\r\n        <td><label>\r\n        <input type=\"radio\" name=\"type\" value=\"c4.8xlarge\">\r\n        &nbsp;c4.8xlarge (36 CPU, 60GB RAM, $1.591/h)\r\n        </label></td>\r\n        </tr>\r\n```\r\n\r\nThese are clickable but look ugly with the `form-control` class. \r\n\r\nRemoving the `form-control` class makes them both clickable and pretty :) \n", "before_files": [{"content": "\"\"\"JupyterHub version info\"\"\"\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\n\nversion_info = (\n    0,\n    8,\n    2,\n    'dev',\n)\n\n__version__ = '.'.join(map(str, version_info))\n\n\ndef _check_version(hub_version, singleuser_version, log):\n    \"\"\"Compare Hub and single-user server versions\"\"\"\n    if not hub_version:\n        log.warning(\"Hub has no version header, which means it is likely < 0.8. Expected %s\", __version__)\n        return\n\n    if not singleuser_version:\n        log.warning(\"Single-user server has no version header, which means it is likely < 0.8. Expected %s\", __version__)\n        return\n\n    # compare minor X.Y versions\n    if hub_version != singleuser_version:\n        from distutils.version import LooseVersion as V\n        hub_major_minor = V(hub_version).version[:2]\n        singleuser_major_minor = V(singleuser_version).version[:2]\n        extra = \"\"\n        if singleuser_major_minor == hub_major_minor:\n            # patch-level mismatch or lower, log difference at debug-level\n            # because this should be fine\n            log_method = log.debug\n        else:\n            # log warning-level for more significant mismatch, such as 0.8 vs 0.9, etc.\n            log_method = log.warning\n            extra = \" This could cause failure to authenticate and result in redirect loops!\"\n        log_method(\n            \"jupyterhub version %s != jupyterhub-singleuser version %s.\" + extra,\n            hub_version,\n            singleuser_version,\n        )\n    else:\n        log.debug(\"jupyterhub and jupyterhub-singleuser both on version %s\" % hub_version)\n", "path": "jupyterhub/_version.py"}]}