<form class="create-form" id="createAccount" action="#"> <a class="textlogin"> <template v-if="namePack == 'login'">Sign in to EasyManagement</template> <template v-else-if="namePack == 'register'">Create Your Account</template> </a> <div v-for="(input, index) in currentPack" :key="index"> <input type="input.type" v-model="input[input.name]" class="form-control" /> </div> <button id="linkNewProject" class="butt-new-proj butt1">Next</button> <p class="message"> Already registered? <a href="./" id="linkLogin">Sign in</a> </p> </form> <!-- Login --> <template v-if="namePack == 'login'"> <button type="reset" id="butt">Sign In</button> <p class="message"> Not registered? <a href="./" id="linkCreateAccount">Create an account</a> </p> </template> <template v-else> <div class="login-buttons"> <button id="linkAddMembers" class="butt-new-proj butt2">Next</button> <button href="./">Cancel</button> </div> </template> </div>
Обсуждают сегодня