mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 13:17:50 +02:00
Improve a bit the layout for descriptions
This commit is contained in:
@@ -57,7 +57,6 @@
|
||||
<div class="tab-content" id="nav-tabContent">
|
||||
<div class="tab-pane show active" id="nav-summary" role="tabpanel" aria-labelledby="nav-summary-tab">
|
||||
<table class="table table-striped">
|
||||
{{ book.description | safe }}
|
||||
<thead>
|
||||
<tr>
|
||||
{% if type == "catalog" %}
|
||||
@@ -119,6 +118,12 @@
|
||||
<td>{{ book.price|default:"-" }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if book.description %}
|
||||
<tr>
|
||||
<th class="w-33" scope="row">Description</th>
|
||||
<td>{{ book.description | safe }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% if properties %}
|
||||
|
Reference in New Issue
Block a user