diff --git a/src/character/forms.py b/src/character/forms.py index 227bd96..fbbd8d5 100644 --- a/src/character/forms.py +++ b/src/character/forms.py @@ -53,6 +53,8 @@ class CharacterCreateForm(forms.ModelForm): self.fields[ "racial_capability" ].queryset = RacialCapability.objects.select_related("race") + self.fields["damage_reduction"].widget.attrs.update({"rows": 2}) + self.fields["equipment"].widget.attrs.update({"rows": 3}) class Meta: model = Character diff --git a/src/character/templates/character/character_form.html b/src/character/templates/character/character_form.html index 1ed3e65..cec45ee 100644 --- a/src/character/templates/character/character_form.html +++ b/src/character/templates/character/character_form.html @@ -4,9 +4,54 @@ {% block title %}Création de personnage{% endblock %} {% block content %} +