Projekt: Beschreibung in areainput geändert und Länge der Felder angepasst
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 7 May 2013 13:26:05 +0000 (15:26 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:03:22 +0000 (13:03 +0200)
templates/webpages/project/_basic_data.html

index a0982f1..c9dcd1d 100644 (file)
@@ -6,18 +6,13 @@
 <table>
  <tr>
   <th align="right">[% 'Number' | $T8 %]</th>
-  <td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, size=60, class="initial_focus") %]</td>
+  <td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, size=60, style='width: 300px', class="initial_focus") %]</td>
  </tr>
 
  <tr>
   <th align="right">[% 'Description' | $T8 %]</th>
   <td>
-   [%- SET rows = LxERP.numtextrows(SELF.project.description, 60) %]
-   [%- IF rows > 1 %]
-    [%- L.textarea_tag("project.description", SELF.project.description, rows=row, size=60, style="width: 100%", wrap="soft") %]
-   [%- ELSE %]
-    [%- L.input_tag("project.description", SELF.project.description, size=60) %]
-   [%- END %]
+    [%- L.areainput_tag("project.description", SELF.project.description, size=60, style="width: 300px", wrap="soft") %]
   </td>
  </tr>