WEBPIECESxPACKAGE.base.crud.userAddEdit.html Maven / Gradle / Ivy
#{extends '../main.html'/}#
#{set title:'Add/Edit'/}#
#{set tab:'userlist'/}#
#{form action:@[POST_USER_FORM]@, class:'form-horizontal', style:'min-width:500px;max-width:800px;margin: 0 auto'}#
User
#{if _flash.error}#
Oops....
${_flash.error}$
#{/if}#
*{optional in case this is the add operation and so this is used in case of edits only }*
*{Generally, we only use field, but for purposes of demonstration, we use the myfield tag as an example of a custom 'field' tag you own in your project}*
#{field 'entity.firstName', label:'First Name'}##{/field}#
#{myfield 'entity.lastName', label:'Last Name'}##{/myfield}#
#{myfield 'entity.email', label:'Email'}##{/myfield}#
#{field 'password', label:'Password'}##{/field}#
#{field 'entity.fun', label: 'Is Fun:'}##{/field}#
#{field 'entity.levelOfEducation', label:'School Level'}#
#{/field}#
#{field 'selectedRoles', label:'Role'}#
#{/field}#
#{/form}# © 2015 - 2025 Weber Informatics LLC | Privacy Policy