Cosmetics: 'type first letters' inlined in input text field on Variants page
authorBenjamin Auder <benjamin.auder@somewhere>
Mon, 10 Feb 2020 12:53:42 +0000 (13:53 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Mon, 10 Feb 2020 12:53:42 +0000 (13:53 +0100)
client/src/views/Variants.vue

index a273039..0f320ef 100644 (file)
@@ -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}"