backend: frontend: added new fields to model structs and frontend form

This commit is contained in:
Patryk Hegenberg 2023-12-07 13:24:57 +01:00
parent eda80cf0f0
commit d50f5dab03
3 changed files with 488 additions and 249 deletions

View file

@ -63,7 +63,7 @@ func AddMonster(Monsters *[]model.Monster) http.HandlerFunc {
Perception: r.FormValue("perception"),
Stealth: r.FormValue("stealth"),
},
DamageRes: []string{r.FormValue("damageRes")},
Resist: []string{r.FormValue("resist")},
Senses: []string{r.FormValue("senses")},
Languages: []string{r.FormValue("languages")},
CR: r.FormValue("cr"),