[%- USE HTML %][%- USE LxERP -%][%- USE L -%][%- USE JavaScript -%] [% INCLUDE 'common/flash.html' %]

[% HTML.escape(title) %]

[% LxERP.t8('You can only delete datasets that are not in use.') %] [% 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.') %]

[% IF SELF.all_dbsources.size %]

[% LxERP.t8('Please select the dataset you want to delete:') %] [% L.select_tag('db', SELF.all_dbsources, class="initial_focus") %]

[% L.hidden_tag("dbhost", FORM.dbhost) %] [% L.hidden_tag("dbport", FORM.dbport) %] [% L.hidden_tag("dbuser", FORM.dbuser) %] [% L.hidden_tag("dbpasswd", FORM.dbpasswd) %] [% L.hidden_tag("dbdefault", FORM.dbdefault) %] [% L.hidden_tag("action", "Admin/do_delete_dataset") %]
[% L.submit_tag('dummy', LxERP.t8('Delete Dataset'), id='submit') %]
[% END %]