Convert all remaining tabs by 2spaces
[vchess.git] / client / src / components / ContactForm.vue
index aae0a50..45b7c01 100644 (file)
@@ -1,7 +1,8 @@
 <template lang="pug">
 div
   input#modalContact.modal(type="checkbox")
-  div(role="dialog" aria-labelledby="contactTitle")
+  div(role="dialog" data-checkbox="modalContact"
+      aria-labelledby="contactTitle")
     form.card.smallpad
       label.modal-close(for="modalContact")
       h3#contactTitle.section {{ st.tr["Contact form"] }}
@@ -33,7 +34,7 @@ export default {
     };
   },
   methods: {
-               // Note: not using Vue here, but would be possible
+    // Note: not using Vue here, but would be possible
     trySendMessage: function() {
       let email = document.getElementById("userEmail");
       let subject = document.getElementById("mailSubject");
@@ -64,6 +65,12 @@ export default {
         }
       );
     },
-       },
+  },
 };
 </script>
+
+<style lang="sass" scoped>
+#emailSent
+  color: blue
+  display: none
+</style>