Update to bootstrap 5
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
Class {
|
Class {
|
||||||
#name : 'WAContact',
|
#name : 'WAContact',
|
||||||
#superclass : 'WAComponent',
|
#superclass : 'SBSRootComponent',
|
||||||
#instVars : [
|
#instVars : [
|
||||||
'contact'
|
'contact'
|
||||||
],
|
],
|
||||||
@@ -59,7 +59,7 @@ WAContact >> renderEmailFieldOn: html [
|
|||||||
html emailInput
|
html emailInput
|
||||||
formControl;
|
formControl;
|
||||||
placeholder: 'your@email.eu';
|
placeholder: 'your@email.eu';
|
||||||
callback: [ :value | self contact email: value ];
|
callback: [ :value | self contact email: value address ];
|
||||||
value: (self contact email ifNil: '') ]
|
value: (self contact email ifNil: '') ]
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -82,7 +82,8 @@ WAContact >> renderFullnameFieldOn: html [
|
|||||||
|
|
||||||
{ #category : 'as yet unclassified' }
|
{ #category : 'as yet unclassified' }
|
||||||
WAContact >> renderSubmitButtonOn: html [
|
WAContact >> renderSubmitButtonOn: html [
|
||||||
html submitButton
|
html formButton
|
||||||
|
beSubmit;
|
||||||
beSuccess;
|
beSuccess;
|
||||||
bePrimary;
|
bePrimary;
|
||||||
callback: [ self answer: self contact ];
|
callback: [ self answer: self contact ];
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
Class {
|
Class {
|
||||||
#name : 'WAContactBook',
|
#name : 'WAContactBook',
|
||||||
#superclass : 'WAComponent',
|
#superclass : 'SBSRootComponent',
|
||||||
#instVars : [
|
#instVars : [
|
||||||
'contactBook'
|
'contactBook'
|
||||||
],
|
],
|
||||||
@@ -12,7 +12,7 @@ Class {
|
|||||||
WAContactBook class >> initialize [
|
WAContactBook class >> initialize [
|
||||||
(WAAdmin register: self asApplicationAt: 'contacts')
|
(WAAdmin register: self asApplicationAt: 'contacts')
|
||||||
addLibrary: JQDeploymentLibrary;
|
addLibrary: JQDeploymentLibrary;
|
||||||
addLibrary: SBSDevelopmentLibrary
|
addLibrary: SBSDeploymentLibrary
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : 'rendering' }
|
{ #category : 'rendering' }
|
||||||
|
|||||||
Reference in New Issue
Block a user