5 <h1>[% 'Load letter draft' | $T8 %]</h1>
7 <form method="post" name="Form" action="controller.pl" id="form">
8 [% L.hidden_tag('is_sales', SELF.is_sales) %]
9 <p>[% 'The following drafts have been saved and can be loaded.' | $T8 %]</p>
18 <th>[% 'Date' | $T8 %]</th>
19 <th>[% 'Subject' | $T8 %]</th>
20 [% IF SELF.is_sales %]
21 <th>[% 'Customer' | $T8 %]</th>
23 <th>[% 'Vendor' | $T8 %]</th>
27 [% FOREACH row = LETTER_DRAFTS %]
28 <tr class="listrow[% loop.count % 2 %]">
29 <td>[% L.checkbox_tag("ids[+]", value=row.id) %]</td>
30 <td>[% row.date.to_kivitendo | html %]</td>
31 <td><a href="[% SELF.url_for(action='edit', 'draft.id'=row.id) %]">[% row.subject | html %]</a></td>
32 [% IF SELF.is_sales %]
33 <td>[% row.customer.displayable_name | html %]</td>
35 <td>[% row.vendor.displayable_name | html %]</td>