diff options
| author | Joris | 2025-01-26 17:58:57 +0100 | 
|---|---|---|
| committer | Joris | 2025-01-26 17:58:57 +0100 | 
| commit | 24eeb54a6b7159964e8887ade7fa5173b50feb3a (patch) | |
| tree | 91af6253df784445db9b084b02b38b37a83224e8 /templates/category | |
| parent | c5759f348e70cf54b4bfa4cd17e1fe1828ead30a (diff) | |
Replace tera by minijinja
tera was doing the job all right, but minijinja has fewer dependencies.
Diffstat (limited to 'templates/category')
| -rw-r--r-- | templates/category/create.html | 4 | ||||
| -rw-r--r-- | templates/category/update.html | 4 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/templates/category/create.html b/templates/category/create.html index af95e16..f5395bf 100644 --- a/templates/category/create.html +++ b/templates/category/create.html @@ -27,7 +27,7 @@          <input            name="name"            class="g-Form__Input" -          value="{{ form.name | default(value="") }}" +          value="{{ form.name or "" }}"            required            {% if not form %} autofocus {% endif %}          /> @@ -39,7 +39,7 @@            name="color"            type="color"            class="g-Form__Input g-Form__InputColor" -          value="{{ form.color | default(value="") }}" +          value="{{ form.color or "" }}"            required          />        </label> 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> | 
