Improvements to form printing

This commit is contained in:
David Taylor
2015-08-14 18:49:43 +03:00
committed by Tom Price
parent cf82ba9680
commit 56e833aed0
2 changed files with 4 additions and 3 deletions

View File

@@ -1,7 +1,8 @@
<blockTable colWidths="{{currentIndent}},100%" alignment="left" style="objectTable">
<tr>
<td></td>
<td><h1>{{field.title}}</h1></td>
<td><h1>{{field.title}}</h1>
<para>{{field.description}}</para></td>
</tr>
</blockTable>

View File

@@ -1,4 +1,4 @@
<blockTable colWidths="{{currentIndent}},100,100%" alignment="left" style="stringTable">
<blockTable colWidths="{{currentIndent}},100%,100%" alignment="left" style="stringTable">
<tr>
<td></td>
<td>
@@ -6,6 +6,6 @@
<para>{{field.description}}</para>
</td>
<td>
<para>{{value|default_if_none:""}}</para></td>
<para>{{value|default_if_none:""|linebreaksbr}}</para></td>
</tr>
</blockTable>