Skip to content
Snippets Groups Projects
Commit 6da157fb authored by Thomas Schneider's avatar Thomas Schneider
Browse files

templates/schild: Distinguish between creating and editing a Schild

parent db9cbb6f
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,16 @@
{% endfor %}
</select>
<div class="box">
{%- if schild -%}
<input type="submit" value="Speichern" />
<input
type="submit"
formaction="{{ url_for('views.create') }}"
value="Neues Schild erstellen"
/>
{%- else -%}
<input type="submit" value="Schild erstellen" />
{%- endif -%}
</div>
</form>
{%- if schild %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment