Minor changes to improve testability of helpers
[castle.git] / MonoRail / Castle.MonoRail.ActiveRecordScaffold / Templates / remove.vm
blobb41d1b6fd9ec507186d2be194981207ecdc16f72
1 #if($exception)\r
2   <h2>${model.Type.Name} could not be removed</h2>\r
3   <p>\r
4   Error message:\r
5   </p>\r
6   <pre>\r
7   $exception.Message\r
8   </pre>\r
9 #else\r
10   <h2>${model.Type.Name} removed</h2>\r
11 #end\r
13 <p>\r
14  $PresentationHelper.LinkToList($model, $useModelName, "List", null)\r
15 </p>\r