fitness-web/app/templates/profile.html

30 lines
963 B
HTML

{% extends "base.html" %}
{% block title %}Profile{% endblock %}
{% block content %}
<h1>Profile</h1>
<form method="post" action="/profile">
<label>
Display Name
<input type="text" name="display_name" value="{{ user.display_name or '' }}">
</label>
<label>
Vital Stats
<textarea name="vital_stats" rows="5" placeholder="Birth Date:&#10;Height:&#10;Gender:&#10;Other:">{{ user.vital_stats or '' }}</textarea>
</label>
<small>Free-form stats passed to your AI coach.</small>
<label>
Medical Notes
<textarea name="medical_notes" rows="4">{{ user.medical_notes or '' }}</textarea>
</label>
<label>
Goals
<textarea name="goals" rows="4">{{ user.goals or '' }}</textarea>
</label>
<label>
Equipment
<textarea name="equipment" rows="4">{{ user.equipment or '' }}</textarea>
</label>
<button type="submit">Save</button>
</form>
{% endblock %}