From 4cf13ab9085e656224fc14b5158b973513eb5a17 Mon Sep 17 00:00:00 2001 From: rlx Date: Sat, 16 Jan 2016 17:34:46 +0530 Subject: [PATCH] style --- static/js/contactForm.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/js/contactForm.js b/static/js/contactForm.js index b44d06e..06dc17b 100644 --- a/static/js/contactForm.js +++ b/static/js/contactForm.js @@ -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 })