From: Benjamin Auder <benjamin.auder@somewhere>
Date: Mon, 10 Feb 2020 12:53:42 +0000 (+0100)
Subject: Cosmetics: 'type first letters' inlined in input text field on Variants page
X-Git-Url: https://git.auder.net/variants/Chakart/doc/css/current/scripts/%7B%7B?a=commitdiff_plain;h=efbc7cec3b8b7e28ad14f28a56970c7db497cec1;p=vchess.git

Cosmetics: 'type first letters' inlined in input text field on Variants page
---

diff --git a/client/src/views/Variants.vue b/client/src/views/Variants.vue
index a2730393..0f320eff 100644
--- a/client/src/views/Variants.vue
+++ b/client/src/views/Variants.vue
@@ -2,8 +2,7 @@
 main
   .row
     .nopadding.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
-      label(for="prefixFilter") {{ st.tr["Type first letters..."] }}
-      input#prefixFilter(v-model="curPrefix")
+      input#prefixFilter(v-model="curPrefix" :placeholder="st.tr['Type first letters...']")
     .variant.col-sm-12.col-md-5.col-lg-4(
       v-for="(v,idx) in filteredVariants"
       :class="{'col-md-offset-1': idx%2==0, 'col-lg-offset-2': idx%2==0}"