This commit is contained in:
rlx 2016-01-16 17:34:46 +05:30
parent 84d0a87a5c
commit 4cf13ab908

View file

@ -12,6 +12,7 @@ oml.ui.contactForm = function() {
id: 'name',
label: Ox._('Your Name'),
labelWidth: 128,
style: 'squared',
validate: function(value, callback) {
callback({valid: true});
},
@ -23,6 +24,7 @@ oml.ui.contactForm = function() {
id: 'email',
label: Ox._('Your E-Mail Address'),
labelWidth: 128,
style: 'squared',
validate: function(value, callback) {
callback({
message: Ox._('Please enter '
@ -38,6 +40,7 @@ oml.ui.contactForm = function() {
id: 'subject',
label: Ox._('Subject'),
labelWidth: 128,
style: 'squared',
validate: function(value, callback) {
callback({valid: true});
},
@ -51,6 +54,7 @@ oml.ui.contactForm = function() {
height: 224,
id: 'message',
placeholder: 'Message',
style: 'squared',
type: 'textarea',
validate: function(value, callback) {
callback({
@ -74,6 +78,7 @@ oml.ui.contactForm = function() {
$sendButton = Ox.Button({
disabled: true,
style: 'squared',
title: Ox._('Send Message'),
width: 128
})