diff options
author | dartcafe <github@dartcafe.de> | 2017-09-02 09:17:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-02 09:17:17 +0300 |
commit | 4e83e35b9dd18b02c55035ec6e24974a7d3d264f (patch) | |
tree | c2dea506d0b9aaa65c8670c0f5f9abc38d6f0997 /templates/create.tmpl.php | |
parent | 667e2b7b53c9587d07d6ecda8263e68e271404fb (diff) |
Reorder of checkboxes after class addition
Diffstat (limited to 'templates/create.tmpl.php')
-rw-r--r-- | templates/create.tmpl.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/templates/create.tmpl.php b/templates/create.tmpl.php index 4cca4e27..beb8d93e 100644 --- a/templates/create.tmpl.php +++ b/templates/create.tmpl.php @@ -104,19 +104,17 @@ <input type="radio" name="pollType" id="text" value="text" class="radio" <?php if($isUpdate && $poll->getType() == '1') print_unescaped('checked'); ?>> <label for="text"><?php p($l->t('Text based')); ?></label> - <label for="isAnonymous" class="input_title"><?php p($l->t('Anonymous')) ?></label> <input id="isAnonymous" name="isAnonymous" type="checkbox" class="checkbox" <?php $isAnonymous ? print_unescaped('value="true" checked') : print_unescaped('value="false"'); ?> /> + <label for="isAnonymous" class="input_title"><?php p($l->t('Anonymous')) ?></label> <div id="anonOptions" style="display:none;"> - <label for="hideNames" class="input_title"><?php p($l->t('Hide user names for admin')) ?></label> <input id="hideNames" name="hideNames" type="checkbox" class="checkbox" <?php $hideNames ? print_unescaped('value="true" checked') : print_unescaped('value="false"'); ?> /> + <label for="hideNames" class="input_title"><?php p($l->t('Hide user names for admin')) ?></label> </div> + <input id="id_expire_set" name="check_expire" type="checkbox" class="checkbox" <?php ($isUpdate && $poll->getExpire() !== null) ? print_unescaped('value="true" checked') : print_unescaped('value="false"'); ?> /> <label for="id_expire_set" class="input_title"><?php p($l->t('Expires')); ?></label> <div class="input-group" id="expiration"> - <div class="input-group-addon"> - <input id="id_expire_set" name="check_expire" type="checkbox" class="checkbox" <?php ($isUpdate && $poll->getExpire() !== null) ? print_unescaped('value="true" checked') : print_unescaped('value="false"'); ?> /> - </div> <input id="id_expire_date" type="text" required="" <?php (!$isUpdate || $poll->getExpire() === null) ? print_unescaped('disabled="true"') : print_unescaped('value="' . $expireStr . '"'); ?> name="expire_date_input" /> </div> </div> |