Ejemplo n.º 1
0
 public ProposalForm(Proposal proposal)
     : base("New Proposal", H1(Text("New Show"))
            , Form(HttpMethod.Post, ResolveUri.ForSubmitEditProposal()
                   , InputHidden("proposal_id", proposal.Id.ToString())
                   , Label("show_name", "Show Name:"), InputText("show_name", false, proposal.Show.Name)
                   , Label("show_description", "Show Description:"), InputText("show_description", false, proposal.Show.Description)
                   , InputSubmit("submit")
                   )
            )
 {
 }