Class levels now have a description field

This commit is contained in:
Stefan Zermatten
2020-10-17 19:33:56 +02:00
parent 68499e4de5
commit 32de70cd45
2 changed files with 11 additions and 0 deletions

View File

@@ -6,6 +6,10 @@ let ClassLevelSchema = new SimpleSchema({
type: String,
optional: true,
},
description: {
type: String,
optional: true,
},
// The name of this class level's variable
variableName: {
type: String,

View File

@@ -27,6 +27,13 @@
@change="change('variableName', ...arguments)"
/>
</div>
<text-area
label="Description"
hint="A brief description of what this class level gives a character"
:value="model.description"
:error-messages="errors.description"
@change="change('description', ...arguments)"
/>
<text-field
label="Condition"
hint="A caclulation to determine if this can be added to the character"