{% extends "auth/routes.base.html.j2" %}

{% block appcontent %}
  {{ form | render_form(extra_classes="",
                        button_map={'submit': 'dark btn-block'},
                        form_type='horizontal',
                        horizontal_columns=('lg', 2, 8)) }}
{% endblock %}

{# {% block scripts %}
  {{ super() }}
  <script>
    const inputField = document.getElementById('name');

    inputField.onkeyup = (event) => {
      let value = event.target.value;

      value = value.replace(/ /g, '_');
      value = value.replace(/-/g, '_');
      value = value.toUpperCase();

      event.target.value = value;
    };
  </script>
{% endblock scripts %} #}
