Created
May 11, 2009 18:29
-
-
Save cprieto/110091 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Language="C#" Inherits="MvcContrib.FluentHtml.ModelViewPage<MemberEntryForm>" Culture="auto" %> | |
<%@ Import Namespace="Rioshu.Educa.HtmlHelpers"%> | |
<%@ Import Namespace="Rioshu.Educa.Controllers"%> | |
<%@ Import Namespace="Rioshu.Educa.Forms"%> | |
<%@ Import Namespace="MvcContrib.FluentHtml" %> | |
<%@ Import Namespace="Microsoft.Web.Mvc" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" > | |
<head runat="server"> | |
<title>Registro de nuevo usuario</title> | |
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/themes/redmond/jquery-ui.css" type="text/css" media="screen" /> | |
</head> | |
<body> | |
<div> | |
<h1>Registro de nuevo usuario</h1> | |
<h2>Datos generales - Paso 1 de 3</h2> | |
<% using (Html.BeginForm("Register", "Registration", FormMethod.Post, new {id = "registrationForm"})) { %> | |
<%= this.TextBox(x => x.Member.FirstName).Label("Nombres:").Id("firstname") %><br /> | |
<%= this.TextBox(x => x.Member.LastName).Label("Apellidos: ").Id("lastname") %><br /> | |
<%= this.TextBox(x => x.Member.Username).Label("Nombre de usuario: ").Id("username") %><br /> | |
<%= this.TextBox(x => x.Member.Email).Label("Correo electrónico: ").Id("email") %><br /> | |
<%= this.TextBox(x => x.Member.BirthDate).Format("d/M/yyyy").Label("Fecha de nacimiento: ").Id("birthdate").Title("día/mes/año") %><br /> | |
<h3>Contraseña</h3> | |
<%= this.Password(x => x.PasswordEntry.Password).Label("Contraseña: ").Id("password") %><br /> | |
<%= this.Password(x => x.PasswordEntry.RepeatPassword).Label("Repita la contraseña: ").Id("repeatpassword") %><br /> | |
<%= this.Select(x => x.Member.Type).Options(Model.Genders).Label("Género: ") %><br /> | |
<%= this.Select(x => x.Member.Type).Options(Model.MemberTypes).Label("Tipo de usuario: ") %><br /> | |
<%= this.SubmitButton("Continuar") %> | |
<% } %> | |
</div> | |
<%= Html.ValidationSummary() %> | |
<%= Html.JQuery()%> | |
<%= Html.JQueryValidator() %> | |
<%= Html.Script("ui/ui.datepicker.js") %> | |
<%= Html.Script("ui/i18n/ui.datepicker-es.js") %> | |
<%= Html.Script("jquery.maskedinput-1.2.2.js") %> | |
<%= Html.Script("registration.js") %> | |
<%= Url.Action("IsAvailable", "Registration")%> | |
<script language="javascript" type="text/javascript"> | |
$(document).ready(function() { | |
Registration.Init('<%= Url.Action("IsAvailable", "Registration") %>'); | |
}) | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment