Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Web/Views/Evento/Nuevo.cshtml @ 118:b74734a1a755
Manejo de eventos por estado
author | Nelo@Kenia.neluz.int |
---|---|
date | Wed, 22 Jun 2011 09:32:59 -0300 |
parents | |
children | a5ff4de4a1d3 |
comparison
equal
deleted
inserted
replaced
117:7ef7e4bb71f6 | 118:b74734a1a755 |
---|---|
1 @model AltNetHispano.Agendas.Web.Models.EventoNewModel | |
2 <h2>Agenda</h2> | |
3 <p> | |
4 Complete los siguiente datos para agendar un nuevo evento | |
5 </p> | |
6 | |
7 <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" /> | |
8 <script src="@Url.Content("~/Scripts/jquery-ui.js")" type="text/javascript"></script> | |
9 | |
10 <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> | |
11 <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script> | |
12 | |
13 <script type="text/javascript"> | |
14 $(document).ready(function () { | |
15 $("#Fecha").datepicker({ dateFormat: 'dd-mm-yy' }); | |
16 }); | |
17 </script> | |
18 | |
19 @using (Html.BeginForm()) | |
20 { | |
21 @Html.ValidationSummary(true, "Los datos ingresados no son validos, por favor verifíquelos") | |
22 <div> | |
23 <fieldset> | |
24 <legend>Datos del evento:</legend> | |
25 | |
26 <div class="editor-label"> | |
27 @Html.LabelFor(model=>model.Tipo) | |
28 </div> | |
29 <div class="editor-field"> | |
30 @Html.DropDownListFor(model => model.Tipo, new SelectList(Model.Tipos, "TipoEvento", "TipoEventoStr")) | |
31 @Html.ValidationMessageFor(model => model.Tipo) | |
32 </div> | |
33 | |
34 <div class="editor-label"> | |
35 @Html.LabelFor(model=>model.Titulo) | |
36 </div> | |
37 <div class="editor-field"> | |
38 @Html.EditorFor(model=>model.Titulo) | |
39 @Html.ValidationMessageFor(model => model.Titulo) | |
40 </div> | |
41 | |
42 <div class="editor-label"> | |
43 @Html.LabelFor(model=>model.Ponente) | |
44 </div> | |
45 <div class="editor-field"> | |
46 @Html.EditorFor(model=>model.Ponente) | |
47 @Html.ValidationMessageFor(model => model.Ponente) | |
48 </div> | |
49 | |
50 <div class="editor-label"> | |
51 @Html.LabelFor(model=>model.Fecha) | |
52 </div> | |
53 <div class="editor-field"> | |
54 @Html.EditorFor(model=>model.Fecha) | |
55 @Html.ValidationMessageFor(model => model.Fecha) | |
56 </div> | |
57 | |
58 <div class="editor-label"> | |
59 @Html.LabelFor(model=>model.UrlInvitacion) | |
60 </div> | |
61 <div class="editor-field"> | |
62 @Html.EditorFor(model => model.UrlInvitacion) | |
63 @Html.ValidationMessageFor(model => model.UrlInvitacion) | |
64 </div> | |
65 | |
66 <p> | |
67 <input type="submit" value="Guardar" /> | |
68 </p> | |
69 </fieldset> | |
70 </div> | |
71 } |