Upload files to a book from show book view.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Description</th>
|
||||
<td>{{ book.description | nl2br }}</td>
|
||||
<td>{{ book.description | nl2br }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Publisher</th>
|
||||
@@ -61,6 +61,10 @@
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{{ form_start(file_form) }}
|
||||
{{ form_widget(file_form) }}
|
||||
<button class="btn btn-primary">{{ button_label|default('Save') }}</button>
|
||||
{{ form_end(file_form) }}
|
||||
|
||||
<a href="{{ path('app_book_index') }}">back to list</a>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user