Removed untyped contructor from ComponentRegistration and add a protected setter.
[castle.git] / Experiments / Generator / Generators / Scaffold / Templates / views / view.brail
blob078a60d41ce17cde15ff37106c1f037c0c5723bc
1 <div class="fields">\r
2 <?brail for prop in ScaffoldHelper.GetProperties(<%= SingularVarName %>.GetType()): ?>\r
3         <div class="field">\r
4                 <b>${ScaffoldHelper.ToHumanName(prop)} : </b>\r
5                 ${ScaffoldHelper.GetPropertyValue(<%= SingularVarName %>, prop)}\r
6         </div>\r
7 <?brail end ?>\r
8 </div>\r
9 \r
10 <div class="actions">\r
11         ${HtmlHelper.LinkTo('Edit', '<%= ControllerLink %>', 'edit', <%= SingularVarName %>.Id)}\r
12         ${HtmlHelper.LinkTo('Back', '<%= ControllerLink %>', 'list')}\r
13 </div>\r