forgot that options need a value, with i18n

This commit is contained in:
Colin Kuskie 2008-04-16 04:30:02 +00:00
parent d8fac0fdf9
commit c0f2c2c3c6
2 changed files with 18 additions and 0 deletions

View file

@ -972,6 +972,13 @@ sub www_editParameterOptions {
-name => 'name',
-value => $param,
);
$f->text(
-name => 'value',
-label => $i18n->get('edit option value'),
-hoverHelp => $i18n->get('edit option value description'),
-value => $session->form->process("value") || $option->{value},
-maxlength => 64,
);
$f->float(
-name => 'priceModifier',
-label => $i18n->get('edit option price modifier'),