summaryrefslogtreecommitdiff
path: root/contact.cgi
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-04-05 18:54:57 +0200
committerJonas Smedegaard <dr@jones.dk>2017-04-05 18:54:57 +0200
commita12c3baf615013412813967dec6333cac7ce78d4 (patch)
tree81f24d6013af7efa2973679d437b67044fda8072 /contact.cgi
parenta708c700f3f234ef5befddf544ecba30419b546a (diff)
Add some styling hints.
Diffstat (limited to 'contact.cgi')
-rwxr-xr-xcontact.cgi11
1 files changed, 9 insertions, 2 deletions
diff --git a/contact.cgi b/contact.cgi
index 7256b5a..414e66c 100755
--- a/contact.cgi
+++ b/contact.cgi
@@ -46,25 +46,32 @@ my $form = CGI::FormBuilder->new(
$form->field(
name => 'name',
+ class => 'form-control',
);
$form->field(
name => 'email',
+ id => 'inputEmail',
+ class => 'form-control',
+ placeholder => 'Email',
);
$form->field(
name => 'human',
label => '',
+ class => 'checkbox',
options => ["I'm not a robot!"],
multiple => 0,
- jsmessage => '- Sorry, no robots allowed!',
+ message => '- Sorry, no robots allowed!',
);
$form->field(
name => 'eyes',
label => 'eye color',
- options => [qw(blue green other)],
+ class => 'form-control',
type => 'select',
+ options => [qw(blue green other)],
);
$form->field(
name => 'comment',
+ class => 'form-control',
type => 'textarea',
rows => 5,
);