tried to add edit
parent
2ff2b6e9f0
commit
9a2bc3892f
@ -0,0 +1,22 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block main %}
|
||||
<div class="container">
|
||||
|
||||
{% from "_formhelpers.html" import render_field %}
|
||||
|
||||
<form method="POST" action="{{ url_for('edit_stack_by_id', id=stack.id )}}">
|
||||
{{ form.csrf_token }}
|
||||
<br> <br>
|
||||
<table>
|
||||
<tr>
|
||||
|
||||
{{ render_field(form.edit_stack_name)}}
|
||||
{{ render_field(form.edit_stack_description)}}
|
||||
</tr>
|
||||
<br>
|
||||
<button type="submit" class="btn btn-primary">Update</button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue