Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision dec270d2

Von Kivitendo Admin vor fast 8 Jahren hinzugefügt

  • ID dec270d227e4e9c199001064f32cef1ef37c4296
  • Vorgänger dd2ee66b
  • Nachfolger 77807bf5

Lieferscheine - Abteilung per ALL_DEPARTMENTS und L.select_tag

Unterschiede anzeigen:

templates/webpages/do/search.html
61 61
    [%- IF ALL_DEPARTMENTS.size %]
62 62
    <tr>
63 63
     <th align="right" nowrap>[% 'Department' | $T8 %]</th>
64
     <td colspan="3">
65
      <select name="department" class="fixed_width">
66
       <option></option>
67
       [%- FOREACH row = ALL_DEPARTMENTS %]
68
       <option[% IF department == row.id %] selected[% END %]>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>
69
       [%- END %]
70
      </select>
71
     </td>
64
     <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, class="fixed_width") %]</td>
72 65
    </tr>
73 66
    [%- END %]
74 67

  

Auch abrufbar als: Unified diff