date.chapril.org-framadate/tpl/part/password_request.tpl

19 lines
835 B
Smarty
Raw Permalink Normal View History

{if !$expired && ($active || $resultPubliclyVisible)}
<hr role="presentation" id="password_request" class="hidden-print"/>
<div class="panel panel-danger password_request alert-danger">
<div class="col-md-6 col-md-offset-3">
<form action="" method="POST" class="form-inline">
<input type="hidden" name="poll" value="{$poll_id}"/>
<div class="form-group">
<label for="password" class="control-label">{__('Password', 'Password')}</label>
<input type="password" name="password" id="password" class="form-control" />
<input type="submit" value="{__('Password', 'Submit access')}" class="btn btn-success">
</div>
</form>
</div>
<div class="clearfix"></div>
</div>
{/if}