Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Samples / MonoRail / GettingStartedSampleVS2005 / GettingStartedSample / Views / Product / new.vm
blob4630e3e0f5e3b3556a53a566af599d5c4e13dbcd
1 <h3>New 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="create.rails" method="post">\r
11         <p>\r
12         Name: $FormHelper.TextField("product.name")\r
13         </p>\r
15         <p>\r
16         Price: $FormHelper.TextFieldFormat("product.price", "000.00")\r
17         </p>\r
19         <p>\r
20         Supplier: $FormHelper.Select("product.supplier.id", $suppliers, "%{value='Id', text='Name'}")\r
21         </p>\r
23         <hr/>\r
25         <p>\r
26         <input type="submit" value="Create" />\r
27         </p>\r
29 </form>\r