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

[% HTML.escape(title) %]

[% LxERP.t8('Back') %]

[% 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_unused_dbsources.size %]

[% LxERP.t8('Please select the dataset you want to delete:') %] [% L.select_tag('db', SELF.all_unused_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'), confirm=LxERP.t8('Are you sure?')) %]
[% END %]