{% extends "base.html" %} {% block title %}습관 관리 · 습관 트래커{% endblock %} {% block nav_habits %}active{% endblock %} {% block content %}

습관 관리

만들고 싶은 습관 멈추고 싶은 습관 완료된 습관
{% if tab in ("build", "quit") %} {% include "partials/habit_form.html" %} {% endif %}
{% if habits %}
{% for habit in habits %} {% include "partials/habit_item.html" %} {% endfor %}
{% else %}
{% if tab == "build" %}만들고 싶은 습관이 아직 없어요. 위에서 추가해보세요. {% elif tab == "quit" %}끊고 싶은 습관이 아직 없어요. 위에서 추가해보세요. {% else %}아직 완료된 습관이 없어요.{% endif %}
{% endif %}
{% endblock %}