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