annotate Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/DateTime.cshtml @ 257:730b80afa70d
Ticket #191: Perfil de Usuarios
author |
juanjose.montesdeocaarbos |
date |
Wed, 19 Oct 2011 09:19:20 -0300 |
parents |
a731086c0b28 |
children |
|
rev |
line source |
150
|
1 @model DateTime?
|
|
2 <script type="text/javascript">
|
|
3 $(document).ready(function () {
|
202
|
4 $("#@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)").datepicker({ dateFormat: 'dd/mm/yy' });
|
150
|
5 });
|
|
6 </script>
|
167
|
7 @Html.TextBox(string.Empty, (Model.HasValue ? Model.Value.ToShortDateString() : string.Empty), new { style = "width: 80px" })
|