You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
597 B
12 lines
597 B
<div class="container">
|
|
<form method="post" class="form-group">
|
|
{% csrf_token %}
|
|
{% for field in addressForm %}
|
|
<div class="form-group">
|
|
<label for="{{ field.id_for_label }}">{{ field.label }}</label>
|
|
<input class="form-control" type="{{ field.field.widget.input_type }}" name="{{ field.html_name }}" id="{{ field.auto_id }}" value="{{ field.value|default_if_none:"" }}" >
|
|
</div>
|
|
{% endfor %}
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
</form>
|
|
</div> |