Skip to content

Commit

Permalink
pickadate now works. I keep forgetting that deformdemo doesn't use th…
Browse files Browse the repository at this point in the history
…e widget requirements, you have to edit main.pt to add all the possible css/js.
  • Loading branch information
pauleveritt committed Aug 19, 2013
1 parent 3998a2b commit 8791144
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions deformdemo/templates/main.pt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,21 @@
<script src="${app_url}/static/scripts/typeahead.min.js"
type="text/javascript"></script>

<!-- Added for pickadate -->
<link rel="stylesheet"
href="${request.static_url('deform:static/css/pickadate-classic.min.css')}"
type="text/css" media="screen" charset="utf-8"/>
<link rel="stylesheet"
href="${request.static_url('deform:static/css/pickadate-classic.date.min.css')}"
type="text/css" media="screen" charset="utf-8"/>
<script src="${request.static_url('deform:static/scripts/modernizr.custom.input-types-and-atts.js')}"
type="text/javascript"></script>
<script src="${request.static_url('deform:static/scripts/pickadate.min.js')}"
type="text/javascript"></script>
<script src="${request.static_url('deform:static/scripts/pickadate.date.min.js')}"
type="text/javascript"></script>


</head>

<body id="public">
Expand Down

0 comments on commit 8791144

Please sign in to comment.