Merge remote branch 'origin/master'
[kivitendo-erp.git] / templates / webpages / am / list_warehouses.html
index d812ba4..4761d3f 100644 (file)
@@ -3,7 +3,6 @@
 
 <script type="text/javascript" src="js/jquery-ui.js"></script>
 
-<body>
 
  [% IF saved_message %]<p>[% saved_message %]</p>[% END %]
 
  <hr height="3">
 
  <p>
-  <form method="post" action="am.pl">
-   <input type="hidden" name="type" value="warehouse">
-
-   <input type="submit" class="submit" name="action" value="[% 'Add' | $T8 %]">
-  </form>
+  <a href="am.pl?action=add&type=warehouse&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
  </p>
 
  [% L.sortable_element('#warehouse_list tbody', url => 'controller.pl?action=Warehouse/reorder', with => 'warehouse_id') %]
-