comparison Agendas/trunk/src/Agendas.Web/Views/Shared/EditorTemplates/DateTime.cshtml @ 167:ea85bd893247

Ajustes menores de UI
author nelopauselli
date Sat, 06 Aug 2011 02:51:07 -0300
parents 19bab30521da
children a731086c0b28
comparison
equal deleted inserted replaced
166:fae2feae499e 167:ea85bd893247
2 <script type="text/javascript"> 2 <script type="text/javascript">
3 $(document).ready(function () { 3 $(document).ready(function () {
4 $("#@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)").datepicker({ dateFormat: 'dd-mm-yy' }); 4 $("#@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)").datepicker({ dateFormat: 'dd-mm-yy' });
5 }); 5 });
6 </script> 6 </script>
7 @Html.TextBox(string.Empty, (Model.HasValue ? Model.Value.ToShortDateString() : string.Empty)) 7 @Html.TextBox(string.Empty, (Model.HasValue ? Model.Value.ToShortDateString() : string.Empty), new { style = "width: 80px" })