backend: frontend: added new fields to model structs and frontend form
This commit is contained in:
parent
eda80cf0f0
commit
d50f5dab03
3 changed files with 488 additions and 249 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue