view 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
line wrap: on
line source

@model DateTime?
<script type="text/javascript">
    $(document).ready(function () {
        $("#@ViewData.TemplateInfo.GetFullHtmlFieldId(string.Empty)").datepicker({ dateFormat: 'dd-mm-yy' });
    });
</script>
@Html.TextBox(string.Empty, (Model.HasValue ? Model.Value.ToShortDateString() : string.Empty), new { style = "width: 80px" })