actix-admin/actix_admin/templates/create.html

12 lines
395 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="text" name="{{ model_field[0] }}" placeholder="{{ model_field[0] }}" aria-label="{{ model_field[0] }}"><!-- required="" -->
{%- endfor %}
<button type="submit">Save</button>
</div>
</form>
{% endblock content %}