added new fields to table entries

This commit is contained in:
2025-06-30 17:47:31 +02:00
parent 195a3690d7
commit 661fc11b69
8 changed files with 76 additions and 17 deletions

View File

@@ -16,6 +16,16 @@
<input class="form-control" name="topic_name" type="text" value="{{entry.topic_name}}" required>
</div>
<div class="mb-3">
<label class="form-label required-field" for="topic_language">Language</label>
<select class="form-control" id="language" name="topic_language" value="{{ entry.topic_language }}">
<option value="fr"
{% if entry.topic_language == "fr" %} selected {% endif %}>fr</option>
<option value="vn"
{% if entry.topic_language == "vn" %} selected {% endif %}>vn</option>
</select>
</div>
<div class="mb-3">
<label class="form-label required-field" for="topic_quote">Citation</label>
<textarea class="form-control monospace-font" id="topic_quote" name="topic_quote" required rows="10" cols="35">