Verlinkung mit finaler Seite eingebaut

This commit is contained in:
2024-01-14 22:08:10 +01:00
parent a1ee5f3ea0
commit fdac7b05ea
4 changed files with 48 additions and 7 deletions

View File

@@ -5,6 +5,16 @@
{% endblock %}
{% block content %}
<form action='#' method='post'>
<br>
<p> Name:</p>
<p><input type='text' name='name' /></p>
<p> Email:</p>
<p><input type='text' name='email' /></p>
<br>
<p><input type='submit' value='submit' /></p>
</form>
<input type="radio" class="btn-check" name="options-base" id="option5" autocomplete="off" checked>
<label class="btn" for="option5">Fuck yes!</label>
@@ -12,7 +22,7 @@
<label class="btn" for="option6">Fuck no!</label>
<input type="radio" class="btn-check" name="options-base" id="option7" autocomplete="off">
<label class="btn" for="option7">Fuck you!</label>
<label class="btn" for="option7">Fuck you!</label><br><br>
<button type="button" class="btn btn-primary">Submit</button>
{% endblock %}

View File

@@ -5,5 +5,14 @@
{% endblock %}
{% block content %}
Content: Index
{% endblock %}
<br><br>
Um die Frage vorab zu beantworten: "WTF... hasch du di wirklich in Web-programmierung inkl. CSS und Javascript eingelesen <br>, gelernt des ganze Backend mit Python zu schreiben und des ganze auf deinem eigenen Server deployed... nur für den Joke?!"
<br><br>
<h3>JA</h3>
<br>
<form action='#' method='post'>
<p> Hier geht es zum Antragformular:</p>
<br>
<p><input type='submit' value='Zum Formular' /></p>
</form>
{% endblock %}

9
templates/submitted.html Normal file
View File

@@ -0,0 +1,9 @@
{% extends "base.html" %}
{% block title %}
Title: Submitted
{% endblock %}
{% block content %}
Formular eingereicht!
{% endblock %}