Title / Description
Code <form th:action="@{/posts}" th:object="${Post}" action="/posts" th:method="POST" class="m-3"> <fieldset> <div class="row "> <div class="input-group input-group-rounded col-sm-3 h-75"> <input class="form-control" placeholder="Tytuł" type="text" name="title" required="required" /> </div> <div class="input-group input-group-rounded col-sm-3 h-75"> <input class="form-control" placeholder="Opis" type="text" name="description" required="required" /> </div> <div class="input-group input-group-rounded col-sm-3 h-75"> <input class="form-control" placeholder="Źródło" type="text" name="source" required="required" /> </div> <div class="input-group input-group-rounded col-sm-3 h-75"> <input class="btn btn-hero-success main-btn w-100 " type="submit" value="Dodaj" /> </div> </div> </fieldset> <fieldset> </fieldset> </form>
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code