public object PostExampleForm(ZooModel model) { return("" + MasterPage("Hey", new[] { H.p("You posted the following values: "), H.p(model.Giraffe), H.p(model.Elephant), H.A("/", "Back Home") })); }
public object PostExampleForm(ZooModel model) { return "" + MasterPage("Hey", new[] { H.p("You posted the following values: "), H.p(model.Giraffe), H.p(model.Elephant), H.A("/", "Back Home") }); }
object ExampleForm(ZooModel model) { return("" + MasterPage("Form Example", new[] { H.p("Form entry: "), StandardForm(() => PostExampleForm(null), null, new[] { new TextInput(() => model.Giraffe), new TextInput(() => model.Elephant) } ) } )); }
object ExampleForm(ZooModel model) { return "" + MasterPage ("Form Example", new[] { H.p("Form entry: "), StandardForm(() => PostExampleForm(null), null, new[] { new TextInput (() => model.Giraffe), new TextInput (() => model.Elephant) } ) } ); }