def render_input(env_spec_entry):
    """
    Creates the html output for env_spec_entry input, which is the current dictionary.
    """
    default_value = env_spec_entry["default_value"]
    default_value_state = f'value="{default_value}"' if default_value else ""

    env_spec_entry_input = (
        f'<input id="env_spec_{env_spec_entry["name"].lower()}" '
        f'name="{env_spec_entry["name"].lower()}" type="{env_spec_entry["type"]}" '
        f'{default_value_state}" />\n'
    )
    return env_spec_entry_input