{% extends "credit/card_form_page.html" %}


{% block title %}
	New Card
{% endblock %}


{% block content %}

	{% with submission_url = url_for('credit.new_card') %}
		{% include 'credit/card_form.html' %}
	{% endwith %}

{% endblock %}

{% block javascript %}
	<script>
		const AUTOCOMPLETE_ENDPOINT = "{{ url_for('credit.suggest_autocomplete') }}";
		const INFER_BANK_ENDPOINT = "{{ url_for('credit.infer_bank') }}";
	</script>
	<script src="{{ url_for('static', filename='js/autocomplete_transaction.js') }}">
	</script>
	<script src="{{ url_for('static', filename='js/display_new_account_inputs.js') }}">
	</script>
{% endblock %}
