Fix datepicker when adding column

This commit is contained in:
Olivier Perez 2016-05-03 23:55:30 +02:00
parent 20d222dcfe
commit 498a6a740f

View File

@ -1,5 +1,15 @@
{extends file='page.tpl'} {extends file='page.tpl'}
{block name="header"}
<script type="text/javascript">
window.date_formats = {
DATE: '{__('Date', 'DATE')}',
DATEPICKER: '{__('Date', 'datepicker')}'
};
</script>
<script type="text/javascript" src="{'js/app/framadatepicker.js'|resource}"></script>
{/block}
{block name=main} {block name=main}
<form action="{poll_url id=$admin_poll_id admin=true}" method="POST"> <form action="{poll_url id=$admin_poll_id admin=true}" method="POST">
<div class="alert alert-info text-center"> <div class="alert alert-info text-center">
@ -36,5 +46,4 @@
</div> </div>
</div> </div>
</form> </form>
<script type="text/javascript" src="js/app/framadatepicker.js"></script>
{/block} {/block}