modified: routes/journal_routes.py

modified:   templates/edit_future.html
	modified:   templates/future.html
	modified:   templates/report.html
This commit is contained in:
SimolZimol
2026-08-02 21:52:46 +02:00
parent 29cadb7fd3
commit 208d0c0c54
4 changed files with 29 additions and 13 deletions

View File

@@ -11,8 +11,8 @@
<section class="card">
<form method="post" action="{{ url_for('journal.edit_future', entry_id=entry.id) }}" class="stack">
<label>
Monat
<input type="month" name="month" value="{{ entry.month_date.strftime('%Y-%m') }}" required>
Monat (Kalender)
<input type="date" name="month" value="{{ entry.month_date.strftime('%Y-%m-%d') }}" required>
</label>
<label>
Notiz

View File

@@ -13,8 +13,8 @@
<form method="post" action="{{ url_for('journal.future') }}" class="note-form">
<div class="note-form-row">
<label>
Monat
<input type="month" name="month" required>
Monat (Kalender)
<input type="date" name="month" required>
</label>
<label class="grow">
Notiz

View File

@@ -22,7 +22,7 @@
<input type="radio" name="range" value="month"
{{ 'checked' if f.range_type == 'month' else '' }}> Monat
</label>
<label class="grow"><input type="month" name="month" value="{{ current_month }}"></label>
<label class="grow"><input type="date" name="month" value="{{ f.month_value }}"></label>
<label>
<input type="radio" name="range" value="custom"
{{ 'checked' if f.range_type == 'custom' else '' }}> Zeitraum