diff --git a/src/frontend/templates/characters/edit_character.html.tera b/src/frontend/templates/characters/edit_character.html.tera index 41c0162..ae24603 100644 --- a/src/frontend/templates/characters/edit_character.html.tera +++ b/src/frontend/templates/characters/edit_character.html.tera @@ -165,7 +165,6 @@ {# Webpack Templating for API script #} <%= htmlWebpackPlugin.tags.bodyTags %> -

Core Sheet

@@ -173,6 +172,12 @@

+ +

Basics

System: {{data_type}}
diff --git a/src/frontend/templates/characters/view_character.html.tera b/src/frontend/templates/characters/view_character.html.tera index 03de3db..af43d1b 100644 --- a/src/frontend/templates/characters/view_character.html.tera +++ b/src/frontend/templates/characters/view_character.html.tera @@ -172,6 +172,7 @@ diff --git a/src/routes/characters/edit.rs b/src/routes/characters/edit.rs index 2d1a0b2..8da8b45 100644 --- a/src/routes/characters/edit.rs +++ b/src/routes/characters/edit.rs @@ -10,6 +10,7 @@ use strum::IntoEnumIterator; struct EditCharacterContext<'a> { pub name: &'a str, pub username: &'a str, + pub id: i32, pub data_type: &'a CharacterDataType, pub sheet: Box, pub state: FormStateContext<'a>, @@ -26,6 +27,7 @@ fn edit_character_template(user: &User, character: Character) -> Result