diff options
Diffstat (limited to 'contact.cgi')
-rwxr-xr-x | contact.cgi | 11 |
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, ); |