Small UI improvements for the CAPTCHA field

This commit is contained in:
Ekaterina Vaartis 2018-12-21 00:25:36 +03:00
parent 8470856045
commit 661efc51b7

View File

@ -76,15 +76,16 @@
</div> </div>
<div class="form-group" id="captcha-group" v-if="captcha.type != 'none'"> <div class="form-group" id="captcha-group" v-if="captcha.type != 'none'">
<label class='form--label' for='captcha-label'>CAPTCHA</label>
<template v-if="captcha.type == 'kocaptcha'"> <template v-if="captcha.type == 'kocaptcha'">
<img v-bind:src="captcha.url" v-on:click="setCaptcha"> <img v-bind:src="captcha.url" v-on:click="setCaptcha">
<sub>Click the image to get a new captcha</sub> <sub>Click the image to get a new captcha</sub>
<label class='form--label' for='captcha-label'>CAPTCHA</label>
<input :disabled="isPending" <input :disabled="isPending"
v-model='captcha.solution' v-model='captcha.solution'
class='form-control' id='captcha-answer' type='text'> class='form-control' id='captcha-answer' type='text' autocomplete="off">
</template> </template>
</div> </div>