2021-04-18 16:42:28 -07:00
|
|
|
{% extends 'layout.html' %}
|
2017-06-02 13:40:52 -04:00
|
|
|
{% load helpers %}
|
2017-05-03 15:41:36 -04:00
|
|
|
{% load form_helpers %}
|
|
|
|
|
2021-04-18 16:42:28 -07:00
|
|
|
{% block title %}{{ obj_type|bettertitle }} Import{% endblock %}
|
|
|
|
|
2017-05-03 15:41:36 -04:00
|
|
|
{% block content %}
|
2021-04-18 16:42:28 -07:00
|
|
|
<div class="row mb-3">
|
2021-04-30 15:55:37 -07:00
|
|
|
<div class="col col-md-8">
|
2019-09-24 15:58:23 -04:00
|
|
|
<form action="" method="post" class="form form-horizontal">
|
2017-05-03 15:41:36 -04:00
|
|
|
{% csrf_token %}
|
|
|
|
{% render_form form %}
|
|
|
|
<div class="form-group">
|
2021-04-30 15:55:37 -07:00
|
|
|
<div class="col col-md-12 text-end">
|
2021-04-18 16:42:28 -07:00
|
|
|
{% if return_url %}
|
|
|
|
<a href="{{ return_url }}" class="btn btn-outline-danger">Cancel</a>
|
2017-05-03 15:41:36 -04:00
|
|
|
{% endif %}
|
2021-04-18 16:42:28 -07:00
|
|
|
<button type="submit" name="_addanother" class="btn btn-outline-primary">Submit & Import Another</button>
|
|
|
|
<button type="submit" name="_create" class="btn btn-primary">Submit</button>
|
2017-05-03 15:41:36 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|