Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/Views/Account/Register.cshtml @ 96:1eb5a0e531bf
Funcionamiento con cuenta interna y con cuenta de twitter, falta unificar usuarios
Estructura de aspnetdb dentro de base de datos de altnet hispano, se debe ejecutar: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe para crear dicha estructura, de todas formas el objetivo seria tener una tabla de usuario y password interna, no parecerÃa ser necesaria toda la estructura de aspnetdb
author | Nelo@Kenia.neluz.int |
---|---|
date | Sat, 04 Jun 2011 19:37:02 -0300 |
parents | 08dbe42fdde1 |
children |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Web/Views/Account/Register.cshtml Sat Jun 04 18:33:15 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Web/Views/Account/Register.cshtml Sat Jun 04 19:37:02 2011 -0300 @@ -12,45 +12,8 @@ @using (Html.BeginForm()) { @Html.ValidationSummary(true, "Account creation was unsuccessful. Please correct the errors and try again.") - <div> - <fieldset> - <legend>Account Information</legend> - - <div class="editor-label"> - @Html.LabelFor(m => m.UserName) - </div> - <div class="editor-field"> - @Html.TextBoxFor(m => m.UserName) - @Html.ValidationMessageFor(m => m.UserName) - </div> - - <div class="editor-label"> - @Html.LabelFor(m => m.Email) - </div> - <div class="editor-field"> - @Html.TextBoxFor(m => m.Email) - @Html.ValidationMessageFor(m => m.Email) - </div> - - <div class="editor-label"> - @Html.LabelFor(m => m.Password) - </div> - <div class="editor-field"> - @Html.PasswordFor(m => m.Password) - @Html.ValidationMessageFor(m => m.Password) - </div> - - <div class="editor-label"> - @Html.LabelFor(m => m.ConfirmPassword) - </div> - <div class="editor-field"> - @Html.PasswordFor(m => m.ConfirmPassword) - @Html.ValidationMessageFor(m => m.ConfirmPassword) - </div> - - <p> - <input type="submit" value="Register" /> - </p> - </fieldset> - </div> + @Html.EditorForModel() + <p> + <input type="submit" value="Register" /> + </p> }