Komponenty/Formulář/index.html

21 lines
734 B
HTML
Raw Normal View History

2024-04-17 21:13:56 +00:00
<!-- 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>