Payment-Helper _skonto_charts... debugs und kommentare aufgerÀumt
[kivitendo-erp.git] / templates / webpages / drafts / form.html
index f3cedf8..1036de6 100644 (file)
@@ -3,7 +3,7 @@
 [%- USE LxERP %]
 [%- USE HTML %]
 
-[% PROCESS 'common/flash.html' %]
+[% INCLUDE 'common/flash.html' %]
 
 [%- IF FORM.id %]
 <h3>[% 'Update this draft.' | $T8 %]</h3>
@@ -12,7 +12,7 @@
 [%- END %]
 
 [% L.hidden_tag('', FORM.id, id='new_draft_id') %]
-[% 'Description' | $T8 %]: <input id='new_draft_description' value='[% FORM.description | html %]'>
+[% 'Description' | $T8 %]: [% L.input_tag('new_draft_description', FORM.description) %]
 [% L.button_tag('kivi.Draft.save("' _ HTML.escape(SELF.module) _ '", "' _ HTML.escape(SELF.submodule) _ '")', LxERP.t8('Save draft')) %]
 
 [%- IF drafts_list.size %]
@@ -24,7 +24,6 @@
  <tr class="listheading">
   <th>[% 'Date' | $T8 %]</th>
   <th>[% 'Description' | $T8 %]</th>
-  <th>[% 'Employee' | $T8 %]</th>
  </tr>
 
 [% FOREACH row = drafts_list %]
    [% L.link(SELF.url_for(action='load',id=row.id), row.description) %]
   [%- END %]
   </td>
-  <td>[% row.employee_name | html %]</td>
   <td>[% L.html_tag('span', LxERP.t8('Delete'), class='cursor-pointer interact', onclick="kivi.Draft.delete('" _ row.id _ "')") %]</a></td>
  </tr>
 [% END %]
 </table>
 [%- END %]
-