Default template fixes

- fix wrong relation label/textarea
- add html5 required attribute to textarea
This commit is contained in:
Gabriel Wanzek 2019-10-31 11:34:49 +01:00
parent 16f2864fa2
commit 7c18897f40

View File

@ -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>