#{extends '../../main.html'/}# #{set title:'Ajax User List'/}# #{set tab:'userlist'/}#

Users

*{ any changes to this modal 'if showPopup' would need to be retested in ALL browsers!!! }* #{list items:users, as:'entity'}# #{/list}# #{else}# #{/else}#
FirstName LastName Email Actions
${entity.firstName}$ ${entity.lastName}$ ${entity.email}$ Edit #{bootstrapModal route:@[AJAX_EDIT_USER_FORM, id:'{id}']@, modalId:'addEditModal', linkId:'editLink_'+entity.id, id:entity.id/}# Delete #{bootstrapModal route:@[AJAX_CONFIRM_DELETE_USER, id:'{id}']@, modalId:'deleteModal', linkId:'deletePattern_'+entity.id, id:entity.id/}#
There are no users, Add one now please.
Add User #{bootstrapModal route:@[AJAX_ADD_USER_FORM]@, linkId:'addLink', modalId:'addEditModal'/}# *{ THE ONE LINE bootstrapModal tag for the EDIT button replaces the following... ABOVE ADD BUTTON IS THE SAME AS THIS..... }*