1 <h3>Edit Product</h3>
\r
4 <p style="color: red; font-weight: bold;">
\r
9 <form action="update.rails" method="post">
\r
11 $FormHelper.HiddenField("product.id")
\r
14 Name: $FormHelper.TextField("product.name")
\r
18 Price: $FormHelper.TextFieldFormat("product.price", "000.00")
\r
22 Supplier: $FormHelper.Select("product.supplier.id", $suppliers, "%{value='Id', text='Name'}")
\r
28 <input type="submit" value="Update" />
\r