Kosmetik
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 17 Jun 2011 12:37:22 +0000 (14:37 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 17 Jun 2011 12:37:22 +0000 (14:37 +0200)
templates/webpages/department/form.html

index f95836d..2dc0dd9 100644 (file)
@@ -31,7 +31,7 @@
   <p>
    [% L.hidden_tag("id", SELF.department.id) %]
    [% L.hidden_tag("action", "Department/dispatch") %]
-   <input type="submit" class="submit" name="action_[% IF SELF.department.id %]update[% ELSE %]create[% END %]" value="[% 'Save' | $T8 %]">
+   [% L.submit_tag("action_" _  (SELF.department.id ? "update" : "create"), LxERP.t8('Save')) %]
    [%- IF SELF.department.id && !is_used %]
     [% L.submit_tag("action_destroy", LxERP.t8("Delete"), "confirm", LxERP.t8("Are you sure you want to delete this department?")) %]
    [%- END %]