Added navbar and button to skip automatic search of book info online.

This commit is contained in:
krzysiej
2022-06-02 15:18:40 +02:00
parent e5562cddb1
commit b21d213b19
7 changed files with 82 additions and 35 deletions

View File

@@ -5,10 +5,10 @@
{% block body %}
<div class="d-flex flex-row justify-content-between align-items-center">
<div>
<h1>Book index</h1>
<h1>Book list</h1>
</div>
<div>
<a href="{{ path('app_book_new') }}" class="btn btn-primary">Create new</a>
<a href="{{ path('app_book_new') }}" class="btn btn-primary">Add new</a>
</div>
</div>

View File

@@ -3,7 +3,7 @@
{% block title %}New Book{% endblock %}
{% block body %}
<h1>Create new Book</h1>
<h1>Add new book</h1>
<div id="app">
<book>
{{ include('book/_form.html.twig') }}