Files
habit-tracker/app/templates/partials/yesterday_item.html
T
shinalok d0dd530e26 add retroactive check for yesterday's missed habits on /today
Users often only realize a habit was missed the next day; a same-day-only
check made it impossible to record it after the fact.
2026-07-17 20:15:38 +09:00

17 lines
507 B
HTML

<div class="habit-item">
<div class="habit-item-main">
<button
type="button"
class="check-indicator"
hx-post="/today/{{ item.habit_id }}/toggle-yesterday"
hx-target="#today-content"
hx-swap="innerHTML"
aria-label="{{ item.name }} 어제 체크"
></button>
<div>
<div class="habit-item-name">{{ item.name }}</div>
{% if item.condition_text %}<div class="habit-item-condition">{{ item.condition_text }}</div>{% endif %}
</div>
</div>
</div>