oshipka/vm_gen/templates/html/_list.html

14 lines
539 B
HTML
Raw Normal View History

2020-06-04 18:02:34 +02:00
<h2>[[ name|pluralize ]]</h2>
<a href="{{ url_for('create_[[ name|camel_to_snake ]]') }}">Create</a>
<br>
2020-06-03 16:00:51 +02:00
{% for instance in instances %}
2020-06-04 18:02:34 +02:00
<li>
<a href="{{ url_for('get_[[ name|camel_to_snake ]]', uuid=instance.id) }}">
{% include "[[ name|camel_to_snake ]]/_title.html" %}</a>
|
[
<a href="{{ url_for('update_[[ name|camel_to_snake ]]', uuid=instance.id) }}">e</a> |
<a href="{{ url_for('delete_[[ name|camel_to_snake ]]', uuid=instance.id) }}">x</a>
]
</li>
2020-06-03 16:00:51 +02:00
{% endfor %}