39 lines
1.2 KiB
HTML
39 lines
1.2 KiB
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>
|
|
<div class="grid">
|
|
<label>
|
|
Weight (lb)
|
|
<input type="number" name="weight_lb" step="0.1" value="{{ user.weight_lb or '' }}">
|
|
</label>
|
|
<label>
|
|
Calorie Goal
|
|
<input type="number" name="calorie_goal" value="{{ user.calorie_goal or '' }}">
|
|
</label>
|
|
<label>
|
|
Step Goal
|
|
<input type="number" name="step_goal" value="{{ user.step_goal or '' }}">
|
|
</label>
|
|
</div>
|
|
<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 %}
|