|
Lines 9-15
function check_transport_cost(e) {
Link Here
|
| 9 |
if (val && val != '' && !isNaN(parseFloat(val)) && val >= 0.0) { |
9 |
if (val && val != '' && !isNaN(parseFloat(val)) && val >= 0.0) { |
| 10 |
return; |
10 |
return; |
| 11 |
} |
11 |
} |
| 12 |
alert("Cost must be expressed as a decimal number >= 0"); |
12 |
alert(_("Cost must be expressed as a decimal number >= 0")); |
| 13 |
} |
13 |
} |
| 14 |
function disable_transport_cost_chg(e, cost_id) { |
14 |
function disable_transport_cost_chg(e, cost_id) { |
| 15 |
disable_transport_cost(cost_id, e.checked); |
15 |
disable_transport_cost(cost_id, e.checked); |
|
Lines 69-75
function form_submit (f) {
Link Here
|
| 69 |
<h4>There were problems with your submission</h4> |
69 |
<h4>There were problems with your submission</h4> |
| 70 |
<ul> |
70 |
<ul> |
| 71 |
[% FOR e IN errors %] |
71 |
[% FOR e IN errors %] |
| 72 |
<li>[% e %]</li> |
72 |
<li>Invalid value for [% e %]</li> |
| 73 |
[% END %] |
73 |
[% END %] |
| 74 |
</ul> |
74 |
</ul> |
| 75 |
</div>[% END %] |
75 |
</div>[% END %] |
| 76 |
- |
|
|