1 [%- USE HTML %][%- USE LxERP -%][%- USE L -%]
3 [% INCLUDE 'common/flash.html' %]
5 <h1>[% HTML.escape(title) %]</h1>
7 <p><a href="controller.pl?action=Admin/database_administration">[% LxERP.t8('Back') %]</a></p>
10 [% LxERP.t8('You can only delete datasets that are not in use.') %]
11 [% LxERP.t8('If you want to delete such a dataset you have to edit the client(s) that are using the dataset in question and have them use another dataset.') %]
14 [% IF SELF.all_unused_dbsources.size %]
16 <form method="post" action="controller.pl">
18 [% LxERP.t8('Please select the dataset you want to delete:') %]
19 [% L.select_tag('db', SELF.all_unused_dbsources) %]
22 [% L.hidden_tag("dbhost", FORM.dbhost) %]
23 [% L.hidden_tag("dbport", FORM.dbport) %]
24 [% L.hidden_tag("dbuser", FORM.dbuser) %]
25 [% L.hidden_tag("dbpasswd", FORM.dbpasswd) %]
26 [% L.hidden_tag("dbdefault", FORM.dbdefault) %]
27 [% L.hidden_tag("action", "Admin/do_delete_dataset") %]
30 [% L.submit_tag('dummy', LxERP.t8('Delete Dataset'), confirm=LxERP.t8('Are you sure?')) %]