Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Samples / MonoRail / GettingStartedSampleVS2005 / GettingStartedSample / Views / Product / edit.vm
blobae64b398f11ae41c0434328cbcc892c23940f962
1 <h3>Edit Product</h3>\r
2 \r
3 #if($Flash.error)\r
4 <p style="color: red; font-weight: bold;">\r
5         $Flash.error\r
6 </p>\r
7 #end\r
8 \r
9 <form action="update.rails" method="post">\r
11 $FormHelper.HiddenField("product.id")\r
13         <p>\r
14         Name: $FormHelper.TextField("product.name")\r
15         </p>\r
17         <p>\r
18         Price: $FormHelper.TextFieldFormat("product.price", "000.00")\r
19         </p>\r
21         <p>\r
22         Supplier: $FormHelper.Select("product.supplier.id", $suppliers, "%{value='Id', text='Name'}")\r
23         </p>\r
25         <hr/>\r
27         <p>\r
28         <input type="submit" value="Update" />\r
29         </p>\r
31 </form>\r