Skip to content

Commit

Permalink
Merge pull request #16 from clsdaniel/develop
Browse files Browse the repository at this point in the history
Corrected typo that prevented Calendar widget of being rendered.
  • Loading branch information
ralphbean committed Nov 5, 2012
2 parents ec51bee + 4346176 commit 7817ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tw2/forms/templates/calendar.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<script type="text/javascript">Calendar.setup({
"inputField": "{{ w.compound_id }}", "showsTime": {{ w.picker_shows_time | lower }},
"ifFormat": "{{ w.date_format }}", "button": "{{ w.compound_id }}_trigger"
{% for k, v in w.setup_options.items %}
{% for k, v in w.setup_options.items() %}
, {{ k }}: {{ isinstance(v, twc.JSSymbol) and (v.src) or '"%s"' % v }}
{% endfor %}
})</script>
Expand Down

0 comments on commit 7817ef6

Please sign in to comment.