<!DOCTYPE html>
<html lang="fr" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="fragments.html :: head(#{company.add.title}, 'form')"></th:block>
</head>
<body>

<!-- Fragment de l'entête -->
<header th:include="fragments.html :: header(false)"></header>
<!-- Corps de la page -->
<section>
    <div th:include="fragments.html :: messages"></div>
    <h1 th:text="#{company.add.title}"></h1>

    <form th:action="@{/company/creator}"
          th:object="${company}"
          class="requireAuth"
          method="POST">
        <div class="content">
            <div class="formWrap">
                <div class="formColumn">
                    <label th:for="${#ids.next('name')}"
                           th:text="#{company.form.companyName} + ':'"></label>
                </div>
                <div class="formColumn">
                    <input class="rawInput"
                           required
                           th:field="*{name}"
                           type="text">
                </div>
            </div>
            <div th:include="fragments.html :: formEndButtons"></div>
        </div>
    </form>
</section>
<!-- Fragment du pied de page -->
<footer th:include="fragments.html :: footer(null, true)"></footer>

</body>
</html>
