actix-admin/actix_admin/templates/create.html

13 lines
468 B
HTML
Raw Normal View History

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 -%}
<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>
<button onclick="history.back()">Cancel</button>
2022-05-01 23:30:20 +02:00
</div>
</form>
{% endblock content %}