aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Wanzek <gw@millenium.de>2019-10-31 11:34:49 +0100
committerGabriel Wanzek <gw@millenium.de>2019-10-31 11:34:49 +0100
commit7c18897f40d9011bc061ad996f288fac85d273ad (patch)
treefd70c056fba2df215782603572c771139c989d9b
parent16f2864fa27ef025878b824a12a041284ec94275 (diff)
downloadstikked-fit-7c18897f40d9011bc061ad996f288fac85d273ad.tar.gz
stikked-fit-7c18897f40d9011bc061ad996f288fac85d273ad.tar.bz2
stikked-fit-7c18897f40d9011bc061ad996f288fac85d273ad.zip
Default template fixes
- fix wrong relation label/textarea - add html5 required attribute to textarea
-rw-r--r--htdocs/themes/default/views/defaults/paste_form.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/htdocs/themes/default/views/defaults/paste_form.php b/htdocs/themes/default/views/defaults/paste_form.php
index 581af2c..51db9b9 100644
--- a/htdocs/themes/default/views/defaults/paste_form.php
+++ b/htdocs/themes/default/views/defaults/paste_form.php
@@ -38,12 +38,12 @@
</div>
<div class="item">
- <label for="paste"><?php echo lang('paste_yourpaste'); ?>
+ <label for="code"><?php echo lang('paste_yourpaste'); ?>
<span class="instruction"><?php echo lang('paste_yourpaste_desc'); ?></span>
<span class="instruction"><a href="#" id="enable_codemirror" data-lang-enablesynhl="<?php echo lang('paste_enablesynhl'); ?>" data-lang-disablesynhl="<?php echo lang('paste_disablesynhl'); ?>"></a></span>
</label>
- <textarea id="code" name="code" cols="40" rows="20" tabindex="4"><?php if(isset($paste_set)){ echo $paste_set; }?></textarea>
+ <textarea id="code" name="code" cols="40" rows="20" tabindex="4" required><?php if(isset($paste_set)){ echo $paste_set; }?></textarea>
</div>

© 2014-2024 Faster IT GmbH | imprint | privacy policy