default.view.tenants.user-account-details.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sirius-biz Show documentation
Show all versions of sirius-biz Show documentation
Provides a framework for building web based business applications
@*
* Made with all the love in the world
* by scireum in Remshalden, Germany
*
* Copyright by scireum GmbH
* http://www.scireum.de - [email protected]
*@
@import sirius.biz.tenants.UserAccount
@args UserAccount account, sirius.biz.tenants.UserAccountController controller
@extends(view.tenants.user-account.html, account, "details")
@editForm(("user-account/" + account.getIdAsString())) {
@textfield(name: "email",
value: account.getEmail(),
labelKey: "Model.email",
required: true)
@textfield(name: "login_username",
value: account.getLogin().getUsername(),
labelKey: "LoginData.username")
@codelistSelect(list: "salutations",
name: "person_salutation",
value: account.getPerson().getSalutation(),
labelKey: "PersonData.salutation")
@textfield(name: "person_title",
value: account.getPerson().getTitle(),
labelKey: "PersonData.title")
@textfield(name: "person_firstname",
value: account.getPerson().getFirstname(),
labelKey: "PersonData.firstname")
@textfield(name: "person_lastname",
value: account.getPerson().getLastname(),
labelKey: "PersonData.lastname")
@heading("UserAccount.security")
@checkbox(name: "login_accountLocked",
value: account.getLogin().isAccountLocked(),
labelKey: "LoginData.accountLocked")
@if (Strings.isFilled(account.getLogin().getGeneratedPassword())) {
@textfield(name: "generatedPassword",
value: account.getLogin().getGeneratedPassword(),
labelKey: "LoginData.generatedPassword",
readonly: "true")
}
@heading("UserAccount.roles")
@for(String role : controller.getRoles()) {
}
@includeExtensions("view-user-account-details", account)
}
@formBar() {
@tracing(account.getTrace())
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy