Skip to content

Instantly share code, notes, and snippets.

@chrisnicola
Created May 2, 2010 22:59
Show Gist options
  • Save chrisnicola/387533 to your computer and use it in GitHub Desktop.
Save chrisnicola/387533 to your computer and use it in GitHub Desktop.
<% using (Html.BeginForm("Create", "Login")) {%>
//Creates
<form action="/login/create" method="post">
<% using (Html.BeginForm<LoginController>(x => x.Create(Model))) {%>
//Creates
<form action="/Login/Create?model=Graphite.Web.Controllers.Login.LoginViewModel" method="post">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment