Added vue book search.
This commit is contained in:
@@ -3,22 +3,16 @@
|
||||
{% block title %}Book index{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="d-flex flex-row justify-content-between align-items-center">
|
||||
<div>
|
||||
{% if(searchTerm) %}
|
||||
<h1>Book search: {{ searchTerm }}</h1>
|
||||
{% else %}
|
||||
<h1>Book list</h1>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div>
|
||||
<a href="{{ path('app_book_new') }}" class="btn btn-primary">Add new</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="app">
|
||||
<div class="d-flex flex-row justify-content-between align-items-center">
|
||||
<div>
|
||||
<book-listing-header></book-listing-header>
|
||||
</div>
|
||||
<div>
|
||||
<a href="{{ path('app_book_new') }}" class="btn btn-primary">Add new</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<book-listing></book-listing>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user