Artikelstammdaten: »Beschreibung« als Textarea setzen, wenn mehrzeilig
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 31 Aug 2017 11:16:44 +0000 (13:16 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 31 Aug 2017 11:49:40 +0000 (13:49 +0200)
templates/webpages/part/_basic_data.html

index 4720206..00ee4ad 100644 (file)
              <tr>
               <th align="right">[% 'Part Description' | $T8 %]</th>
               <td>
-               [%- IF description_area %]
-               <textarea name="description" rows="[% HTML.escape(rows) %]" cols="40" wrap="soft">[% HTML.escape(description) %]</textarea>
-               [%- ELSE %]
-               [% L.input_tag("part.description", SELF.part.description, size=40) %]</td>
-               [%- END %]
+               [% L.areainput_tag("part.description", SELF.part.description, size=40) %]</td>
               </td>
              </tr>
              <tr>