Remove artificial restriction that account keys need to start with 'accounts.'
This commit is contained in:
@@ -122,7 +122,6 @@ financer.heading.recurring-to-transaction-with-amount=financer\: create transact
|
||||
|
||||
financer.error-message.UNKNOWN_ERROR=An unknown error occurred!
|
||||
financer.error-message.INVALID_ACCOUNT_TYPE=The selected account type is not valid!
|
||||
financer.error-message.INVALID_ACCOUNT_KEY=The entered account key is invalid! It has to start with 'accounts.'.
|
||||
financer.error-message.FROM_ACCOUNT_NOT_FOUND=The specified from account has not been found!
|
||||
financer.error-message.TO_ACCOUNT_NOT_FOUND=The specified to account has not been found!
|
||||
financer.error-message.FROM_AND_TO_ACCOUNT_NOT_FOUND=Neither from nor to have not been found!
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<span class="errorMessage" th:if="${errorMessage != null}" th:text="#{'financer.error-message.' + ${errorMessage}}"/>
|
||||
<form id="new-account-form" action="#" th:action="@{/saveAccount}" th:object="${form}" method="post">
|
||||
<label for="inputKey" th:text="#{financer.account-new.label.key}"/>
|
||||
<input type="text" id="inputKey" th:field="*{key}" placeholder="accounts."/>
|
||||
<input type="text" id="inputKey" th:field="*{key}" />
|
||||
<label for="selectType" th:text="#{financer.account-new.label.type}"/>
|
||||
<select id="selectType" th:field="*{type}">
|
||||
<option th:each="type : ${accounttypes}" th:value="${type}" th:text="#{'financer.account-type.' + ${type}}"/>
|
||||
|
||||
Reference in New Issue
Block a user