X-Git-Url: https://git.auder.net/js/rpsls.js?a=blobdiff_plain;f=client%2Fsrc%2Fcomponents%2FContactForm.vue;h=cadbf73d10e42370274312fce3e24827c5a76d6f;hb=241bf8f2a9a2c48d793aeb0b1d20207f6371de70;hp=9ac5710719d3f07da471756f7ad8fabcb8315224;hpb=9ddaf8da8743c50b9019888a82d84392913c60c9;p=vchess.git
diff --git a/client/src/components/ContactForm.vue b/client/src/components/ContactForm.vue
index 9ac57107..cadbf73d 100644
--- a/client/src/components/ContactForm.vue
+++ b/client/src/components/ContactForm.vue
@@ -1,11 +1,15 @@
div
- input#modalContact.modal(type="checkbox")
- div(role="dialog" data-checkbox="modalContact"
- aria-labelledby="contactTitle")
- form.card.smallpad
+ input#modalContact.modal(
+ type="checkbox"
+ @change="trySetEnterTime($event)"
+ )
+ div(
+ role="dialog"
+ data-checkbox="modalContact"
+ )
+ .card
label.modal-close(for="modalContact")
- h3#contactTitle.section {{ st.tr["Contact form"] }}
fieldset
label(for="userEmail") {{ st.tr["Email"] }}
input#userEmail(type="email")
@@ -13,12 +17,9 @@ div
label(for="mailSubject") {{ st.tr["Subject"] }}
input#mailSubject(type="text")
fieldset
- label(for="mailContent") {{ st.tr["Content"] }} *
- br
- textarea#mailContent
- fieldset
- button(type="button" @click="trySendMessage()") {{ st.tr["Send"] }}
- p#emailSent {{ st.tr["Email sent!"] }}
+ textarea#mailContent(:placeholder="st.tr['Your message']")
+ button(@click="trySendMessage()") {{ st.tr["Send"] }}
+ #dialog.text-center {{ st.tr[infoMsg] }}