forked from XPUB/XPPL
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
744 B
HTML
37 lines
744 B
HTML
7 years ago
|
{% extends 'base.html' %}
|
||
|
|
||
|
{% block main %}
|
||
|
<div class="container">
|
||
|
|
||
|
<!-- {% from "_formhelpers.html" import render_field %}
|
||
|
|
||
|
<h1 class="page-header">Add Stack</h1>
|
||
|
{% with messages = get_flashed_messages() %}
|
||
|
{% if messages %}
|
||
|
<div class="alert alert-danger">
|
||
|
<ul>
|
||
|
{% for message in messages %}
|
||
|
<li>{{ message }}</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
{% endwith %} -->
|
||
|
|
||
|
<form method="POST" action="{{ url_for('add_stack') }}" enctype=multipart/form-data>
|
||
|
{{form.hidden_tag()}}
|
||
|
<br>
|
||
|
{{ render_field(form.stack_name)}}
|
||
|
{{ render_field(form.stack_description)}}
|
||
|
|
||
|
<button type="submit" class='button'>Create</button>
|
||
|
|
||
|
|
||
|
</form>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
{% endblock %}
|