Diff between d1069bb62ced9fa76e1dffddc79d62dc6bd522b8 and 68fd2bb3e413052333af6019f7889e3788413821

Changed Files

File Additions Deletions Status
uusopiskelija.php +39 -32 modified

Full Patch

diff --git a/uusopiskelija.php b/uusopiskelija.php
index 55c17ab..a491d5f 100644
--- a/uusopiskelija.php
+++ b/uusopiskelija.php
@@ -22,38 +22,45 @@
       </nav>
     </header>
     <main>
-	<section>
-		<form action="lisaa.php" method="POST">
-			<label for="nimi">Nimi:</label>
-			<input type="text" id="nimi" name="nimi" placeholder="Matti Meikäläinen" required>
-			<br>
-			<label for="paikka">Paikka:</label>
-			<input type="text" id="paikka" name="paikka" placeholder="Kpedu">
-			<br>
-			<label for="ohjaaja">Ohjaaja:</label>
-			<input type="text" id="ohjaaja" name="ohjaaja" placeholder="Jaakko Pekka">
-			<br>
-			<label for="yhteystiedot">Yhteystiedot:</label>
-			<input type="text" id="yhteystiedot" name="yhteystiedot" placeholder="0401234 tai jaakko@email.com">
-			<br>
-			<label for="aloitus">Aloitus:</label>
-			<input type="date" id="aloitus" name="aloitus" required>
-			<br>
-			<label for="lopetus">Lopetus:</label>
-			<input type="date" id="lopetus" name="lopetus" required>
-			<br>
-			<label for="status">Status:</label>
-			<input type="text" id="status" name="status" placeholder="Paikkaa etsitään" required>
-			<br>
-			<label for="ruokaraha">Ruokaraha:</label>
-			<input type="text" id="ruokaraha" name="ruokaraha" placeholder="Kyllä">
-			<br>
-			<label for="muuta">Muuta:</label>
-			<input type="text" id="muuta" name="muuta" placeholder="Lähellä bussiasemaa">
-			<br>
-			<input type="submit">
-		</form>
-	</section>
+		<section>
+			<form action="lisaa.php" method="POST">
+				<fieldset>
+					<legend>
+						Oppilaan tiedot
+					</legend>
+					<label for="nimi">Nimi:</label>
+					<input required type="text" id="nimi" name="nimi" placeholder="Matti Meikäläinen" required>
+				</fieldset>
+				<fieldset>
+					<legend>Yrityksen tiedot</legend>
+					<label for="paikka">Paikka:</label>
+					<input type="text" id="paikka" name="paikka" placeholder="Kpedu">
+					<br>
+					<label for="ohjaaja">Ohjaaja:</label>
+					<input type="text" id="ohjaaja" name="ohjaaja" placeholder="Jaakko Pekka">
+					<br>
+					<label for="yhteystiedot">Yhteystiedot:</label>
+					<input type="text" id="yhteystiedot" name="yhteystiedot" placeholder="0401234 tai jaakko@email.com">
+					<br>
+					<label for="aloitus">Aloitus:</label>
+					<input type="date" id="aloitus" name="aloitus" required>
+					<br>
+					<label for="lopetus">Lopetus:</label>
+					<input type="date" id="lopetus" name="lopetus" required>
+					<br>
+					<label for="status">Status:</label>
+					<input type="text" id="status" name="status" placeholder="Paikkaa etsitään" required>
+					<br>
+					<label for="ruokaraha">Ruokaraha:</label>
+					<input type="text" id="ruokaraha" name="ruokaraha" placeholder="Kyllä">
+					<br>
+					<label for="muuta">Muuta:</label>
+					<input type="text" id="muuta" name="muuta" placeholder="Lähellä bussiasemaa">
+					<br>
+				</fieldset>
+				<input type="submit" name="submit" value="Lisää">
+			</form>
+		</section>
     </main>
       <footer>
         <hr>