2018-06-05 18:26:25 +02:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block main %}
|
|
|
|
<div class="container">
|
2018-06-06 13:27:01 +02:00
|
|
|
<!--
|
|
|
|
{% from "_formhelpers.html" import render_field %} -->
|
|
|
|
<!--
|
|
|
|
{{ render_field(form.edit_stack_name)}}
|
|
|
|
{{ render_field(form.edit_stack_description)}} -->
|
2018-06-05 18:26:25 +02:00
|
|
|
<form method="POST" action="{{ url_for('edit_stack_by_id', id=stack.id )}}">
|
|
|
|
{{ form.csrf_token }}
|
|
|
|
<br> <br>
|
2018-06-06 13:27:01 +02:00
|
|
|
<div class="form-group">
|
|
|
|
{{ form.edit_stack_name.label }} {{ form.edit_stack_name(size=20, class="form-control") }}
|
|
|
|
</div><br>
|
|
|
|
<div class="form-group">
|
|
|
|
{{ form.edit_stack_description.label }} {{ form.edit_stack_description(size=20, class="form-control") }}
|
|
|
|
</div>
|
2018-06-05 18:26:25 +02:00
|
|
|
|
|
|
|
<br>
|
|
|
|
<button type="submit" class="btn btn-primary">Update</button>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|