diff options
Diffstat (limited to 'templates/category/update.html')
-rw-r--r-- | templates/category/update.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/category/update.html b/templates/category/update.html index 48dda06..544c583 100644 --- a/templates/category/update.html +++ b/templates/category/update.html @@ -35,7 +35,7 @@ <input name="name" class="g-Form__Input" - value="{{ form.name | default(value=category.name) }}" + value="{{ form.name or category.name }}" required /> </label> @@ -46,7 +46,7 @@ name="color" type="color" class="g-Form__Input g-Form__InputColor" - value="{{ form.color | default(value=category.color) }}" + value="{{ form.color or category.color }}" required /> </label> |