Komponenty/Formulář/index.html
2024-04-17 23:13:56 +02:00

21 lines
734 B
HTML

<!-- Registrační formulář -->
<div class="container">
<h2>Registrace</h2>
<form id="registrationForm" onsubmit="return validateForm()">
<div class="form-group">
<label for="username">Jméno:</label>
<input type="text" id="username" name="username" required />
</div>
<div class="form-group">
<label for="password1">Heslo:</label>
<input type="password" id="password1" name="password1" required />
</div>
<div class="form-group">
<label for="password2">Potvrďte heslo:</label>
<input type="password" id="password2" name="password2" required />
<span id="passwordMatch"></span>
</div>
<button class="log" type="submit">Registrovat</button>
</form>
</div>