2015-03-29 22:13:22 +02:00
|
|
|
{extends file='page.tpl'}
|
|
|
|
|
2015-04-05 18:36:43 +02:00
|
|
|
{block name="header"}
|
2016-05-11 17:38:34 +02:00
|
|
|
<script src="{"js/simplemde.min.js"|resource}" type="text/javascript"></script>
|
2016-05-12 16:20:47 +02:00
|
|
|
<script src="{"js/mde-wrapper.js"|resource}" type="text/javascript"></script>
|
2015-04-05 18:36:43 +02:00
|
|
|
<script src="{"js/app/create_poll.js"|resource}" type="text/javascript"></script>
|
2015-04-13 11:18:09 +02:00
|
|
|
<link rel="stylesheet" href="{"css/app/create_poll.css"|resource}">
|
2016-05-11 17:38:34 +02:00
|
|
|
<link rel="stylesheet" href="{"css/simplemde.min.css"|resource}">
|
2015-04-05 18:36:43 +02:00
|
|
|
{/block}
|
|
|
|
|
2015-03-29 22:13:22 +02:00
|
|
|
{block name=main}
|
|
|
|
<div class="row" style="display:none" id="form-block">
|
|
|
|
<div class="col-md-8 col-md-offset-2">
|
|
|
|
<form name="formulaire" id="formulaire" action="" method="POST" class="form-horizontal" role="form">
|
|
|
|
|
2018-05-25 12:36:18 +02:00
|
|
|
|
2018-05-25 17:37:48 +02:00
|
|
|
{include 'part/create_poll_principal.tpl'}
|
|
|
|
{include 'part/create_poll_collapsed.tpl'}
|
2018-05-25 12:36:18 +02:00
|
|
|
|
2015-03-29 22:13:22 +02:00
|
|
|
<p class="text-right">
|
|
|
|
<button name="{$goToStep2}" value="{$poll_type}" type="submit"
|
|
|
|
class="btn btn-success">{__('Step 1', 'Go to step 2')}</button>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<script type="text/javascript">document.formulaire.title.focus();</script>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<noscript>
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
{__('Step 1', 'Javascript is disabled on your browser. Its activation is required to create a poll.')}
|
|
|
|
</div>
|
|
|
|
</noscript>
|
|
|
|
<div id="cookie-warning" class="alert alert-danger" style="display:none">
|
|
|
|
{__('Step 1', 'Cookies are disabled on your browser. Theirs activation is required to create a poll.')}
|
|
|
|
</div>
|
2016-07-29 16:22:12 +02:00
|
|
|
{/block}
|