forgot that options need a value, with i18n
This commit is contained in:
parent
d8fac0fdf9
commit
c0f2c2c3c6
2 changed files with 18 additions and 0 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
|
|
@ -657,6 +657,17 @@ be useful, others may not.|,
|
|||
context => q|The name of the editParameter form|
|
||||
},
|
||||
|
||||
'edit option value' => {
|
||||
message => q|Value|,
|
||||
lastUpdated => 1208320423,
|
||||
context => q|The form label for the value field in editParameterOption|
|
||||
},
|
||||
|
||||
'edit option value description' => {
|
||||
message => q|<p>The value of this option (ie. 'Blue').</p>|,
|
||||
lastUpdated => 1208320422,
|
||||
},
|
||||
|
||||
'edit option price modifier' => {
|
||||
message => q|Price modifier|,
|
||||
lastUpdated => 1208292477,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue