1
0

Update to bootstrap 5

This commit is contained in:
2025-10-01 01:58:38 +02:00
parent 4dbc1a7c7c
commit ae97162406
2 changed files with 7 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
Class {
#name : 'WAContact',
#superclass : 'WAComponent',
#superclass : 'SBSRootComponent',
#instVars : [
'contact'
],
@@ -59,7 +59,7 @@ WAContact >> renderEmailFieldOn: html [
html emailInput
formControl;
placeholder: 'your@email.eu';
callback: [ :value | self contact email: value ];
callback: [ :value | self contact email: value address ];
value: (self contact email ifNil: '') ]
]
@@ -82,7 +82,8 @@ WAContact >> renderFullnameFieldOn: html [
{ #category : 'as yet unclassified' }
WAContact >> renderSubmitButtonOn: html [
html submitButton
html formButton
beSubmit;
beSuccess;
bePrimary;
callback: [ self answer: self contact ];

View File

@@ -1,6 +1,6 @@
Class {
#name : 'WAContactBook',
#superclass : 'WAComponent',
#superclass : 'SBSRootComponent',
#instVars : [
'contactBook'
],
@@ -12,7 +12,7 @@ Class {
WAContactBook class >> initialize [
(WAAdmin register: self asApplicationAt: 'contacts')
addLibrary: JQDeploymentLibrary;
addLibrary: SBSDevelopmentLibrary
addLibrary: SBSDeploymentLibrary
]
{ #category : 'rendering' }
@@ -98,7 +98,7 @@ WAContactBook >> renderGlobalButtonsOn: html [
{ #category : 'rendering' }
WAContactBook >> renderPhotoOf: aContact on: html [
html image url: aContact gravatarUrl
html image url: aContact gravatarUrl
]
{ #category : 'rendering' }