2022-05-01 23:30:20 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<form method="post">
|
|
|
|
<div class="grid">
|
|
|
|
{% for model_field in view_model.fields -%}
|
2022-07-17 22:12:18 +02:00
|
|
|
<input type="{{ model_field[1] }}" name="{{ model_field[0] }}" placeholder="{{ model_field[0] }}" aria-label="{{ model_field[0] }}"><!-- required="" -->
|
2022-05-01 23:30:20 +02:00
|
|
|
{%- endfor %}
|
|
|
|
<button type="submit">Save</button>
|
2022-07-17 22:12:18 +02:00
|
|
|
<button onclick="history.back()">Cancel</button>
|
2022-05-01 23:30:20 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock content %}
|