- label(for="nameOrEmail") {{ st.tr["User name or Email"] }}
- input#nameOrEmail(type="text" v-model="nameOrEmail")
- .button-group
- button(@click="onSubmit()")
- span {{ st.tr[submitMessage] }}
- button(v-if="stage!='Update'" type="button" @click="toggleStage()")
- span {{ st.tr[stage=="Login" ? "Register" : "Login"] }}
- button(v-else type="button" @click="doLogout()")
- span {{ st.tr["Logout"] }}
+ label(for="nameOrEmail") {{ st.tr["Name or Email"] }}
+ input#nameOrEmail(
+ type="text"
+ v-model="nameOrEmail"
+ )
+ button#submitBtn(@click="onSubmit()")
+ | {{ st.tr[submitMessage] }}