correct size of name field in initial login form (same size as password)
parent
cada2dce30
commit
f46c35f46f
|
@ -21,7 +21,7 @@ sub formbuilder_setup (@) { #{{{
|
|||
my $cgi=$params{cgi};
|
||||
|
||||
if ($form->title eq "signin" || $form->title eq "register") {
|
||||
$form->field(name => "name", required => 0, size => 50);
|
||||
$form->field(name => "name", required => 0);
|
||||
$form->field(name => "password", type => "password", required => 0);
|
||||
|
||||
if ($form->submitted eq "Register" || $form->submitted eq "Create Account") {
|
||||
|
@ -101,7 +101,7 @@ sub formbuilder_setup (@) { #{{{
|
|||
}
|
||||
else {
|
||||
# First time settings.
|
||||
$form->field(name => "name", size => 30);
|
||||
$form->field(name => "name");
|
||||
if ($session->param("name")) {
|
||||
$form->field(name => "name", value => $session->param("name"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue