diff Agendas/trunk/src/Agendas.Web/Views/Persona/Nueva.cshtml @ 144:a2b14da4902f

Alta y modificación de ponentes (personas)
author Nelo@Guinea.neluz.int
date Mon, 01 Aug 2011 10:25:23 -0300
parents
children 2233039ac2eb
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Agendas/trunk/src/Agendas.Web/Views/Persona/Nueva.cshtml	Mon Aug 01 10:25:23 2011 -0300
@@ -0,0 +1,26 @@
+@model AltNetHispano.Agendas.Web.Models.PersonaNewModel
+<h2>Personas</h2>
+<p>
+    Complete los siguiente datos para registrar una nueva persona
+</p>
+
+<link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
+<script src="@Url.Content("~/Scripts/jquery-ui.js")" type="text/javascript"></script>
+
+<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
+<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
+
+@using (Html.BeginForm())
+{
+    @Html.ValidationSummary(true, "Los datos ingresados no son validos, por favor verifíquelos")
+    <div>
+        <fieldset>
+            <legend>Datos de la persona:</legend>
+            @Html.EditorForModel()
+            <p>
+                <input type="submit" value="Guardar" />
+                @Html.ActionLink("Cancelar", "Index")
+            </p>
+        </fieldset>
+    </div>
+}
\ No newline at end of file