From 9e0db61d6576b5953f435a80948bc070de6aa229 Mon Sep 17 00:00:00 2001 From: Robert Goldmann <deadlocker@gmx.de> Date: Sun, 19 May 2024 22:40:53 +0200 Subject: [PATCH] #765 - add new input field for account description --- .../src/main/resources/templates/accounts/newAccount.ftl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/BudgetMasterServer/src/main/resources/templates/accounts/newAccount.ftl b/BudgetMasterServer/src/main/resources/templates/accounts/newAccount.ftl index b6c98285f..de9e0354c 100644 --- a/BudgetMasterServer/src/main/resources/templates/accounts/newAccount.ftl +++ b/BudgetMasterServer/src/main/resources/templates/accounts/newAccount.ftl @@ -47,6 +47,15 @@ </div> </div> + <#-- description --> + <div class="row"> + <div class="input-field col s12 m12 l8 offset-l2"> + <i class="material-icons prefix">article</i> + <textarea id="account-description" class="materialize-textarea" name="description" data-length="250" <@validation.validation "description"/>><#if account.getDescription()??>${account.getDescription()}</#if></textarea> + <label class="input-label" for="account-description">${locale.getString("transaction.new.label.description")}</label> + </div> + </div> + <#-- icon --> <#if account.getIconReference()?? && (account.getIconReference().isImageIcon() || account.getIconReference().isBuiltinIcon())> <#assign initialBackgroundClasses='category-square'/> -- GitLab