<%@page contentType="text/html" pageEncoding="UTF-8"%>
<form method="POST" action="${pageContext.request.contextPath}/AddFactoryAction">
    <h1 class="text-center">Δημιουργία Εργοστασίου</h1>
    <hr />
    <h6 class="form_error" style="text-align: center">
        ${errorMessage}
    </h6>
    <table>
        <tr>
            <td><label for="name">Όνομα</label></td>
            <td><input type="text" name="name" id="name" value="${name}"/></td>
        </tr>
        <tr>
            <td><label for="address">Διεύθυνση</label></td>
            <td><input type="text" name="address" id="address" value="${address}"/></td>
        </tr>
         <tr>
            <td><label for="owner">Ιδιοκτήτης</label></td>
            <td><input type="text" name="owner" id="owner" value="${owner}" /></td>
        </tr>
        <tr>
            <td><label for="phone">Τηλέφωνο</label></td>
            <td><input type="text" name="phone" id="phone" value="${phone}"/></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="submit" value="Εισαγωγή" />
            </td>
        </tr>
    </table>
</form>