{% extends "base.html" %} {% set DISABLED = False if c.record.id else True %} {% macro field(name, disabled=False) %} {% set default_value = c.record[name] if c.record.id else c.form[name].default %} {{ c.form[name](disabled=disabled, **{'data-initial_value': default_value}) }} {% endmacro %} {% block content %}
{% for stat in ['str', 'dex', 'con', 'int', 'wis', 'cha'] %}
{{ c.form[stat].label }}
{{ field(stat, DISABLED) }}
{% endfor %}
HP
{{ field('hit_points', DISABLED) }} / {{ field('max_hit_points', DISABLED) }}
TEMP {{ field('temp_hit_points', DISABLED) }}
Skills
{% for skill in c.record.skills %} {% endfor %}
{{ skill }}3
Saving Throws
{% for save in c.record.saving_throws %} {{ save }} 3  {% endfor %}
PROF
BONUS
Armor
{{ field('armor_class', DISABLED) }}
Class
Initiative
3
Bonus
Speed
{{ field('speed', DISABLED) }}
Actions To Hit Range Targets Damage
Attack Dagger +7 5 1 1d4+3 slashing
Attack Sabetha's Fans +7 5 1 2d6 slashing
Spell Eldritch Blast +5 120 1 1d10 force
Bonus Actions To Hit Range Targets Damage

Attack (1 per Action), Cast a Spell, Dash, Disengage, Dodge, Grapple,
Help, Hide, Improvise, Ready, Search, Shove, or Use an Object


{{ c.form.csrf_token }} {% endblock %} {% block debug %}

Debug

{{ DISABLED }} {{ c }} {% endblock %} {% block script %} {% endblock %}