All Downloads are FREE. Search and download functionalities are using the official Maven repository.

default.view.codelists.code-list-entries.html Maven / Gradle / Ivy

There is a newer version: 9.6
Show newest version
@import sirius.biz.codelists.*
@args CodeList codeList, Page entries
@extends(view.codelists.code-list.html, page: "entries")

@tableSearchHeader(entries, ("code-list/" + codeList.getId())) {
    @i18n("Model.create")
}


@table(entries) {
    
        
            
                @i18n("CodeListEntry.code")
@i18n("Model.priority") @i18n("CodeListEntry.value")
@i18n("CodeListEntry.additionalValue") @i18n("Model.description") @for(CodeListEntry entry : entries.getItems()) { @entry.getCode()
@entry.getPriority() @entry.getValue()
@entry.getAdditionalValue() @entry.getDescription() @deleteLink(("code-list/" +codeList.getId() + "/delete-entry/" + entry.getId() + "?" + entries.createQueryString())) } } @pagination(entries, ("code-list/" + codeList.getId())) @modal(name: "editEntry", titleKey: "CodeListEntry") { @modalBody() {
@textfield(span: "6", name: "code", labelKey: "CodeListEntry.code", required: true) @textfield(span: "6", name: "priority", labelKey: "Model.priority") @textfield(span: "12", name: "value", labelKey: "CodeListEntry.value") @textfield(span: "12", name: "additionalValue", labelKey: "CodeListEntry.additionalValue") @textarea(span: "12", rows: "5", name: "description", labelKey: "Model.description")
} @modalFooter(cancelKey: "NLS.cancel") { @i18n("NLS.save") } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy