[%- USE T8 %] [%- USE HTML %][%- USE L -%][%- USE LxERP -%]

[% title %]

[%- L.hidden_tag("action", 'Admin/create_auth_db') %] [%- L.hidden_tag("{AUTH}admin_password", LXCONFIG.authentication.admin_password) %]

[% 'The database for user management and authentication does not exist. You can create let kivitendo create it with the following parameters:' | $T8 %]

[% 'Host' | $T8 %]: [% HTML.escape(SELF.db_cfg.host) %]
[% 'Port' | $T8 %]: [% HTML.escape(SELF.db_cfg.port) %]
[% 'User name' | $T8 %]: [% HTML.escape(SELF.db_cfg.user) %]
[% 'Database name' | $T8 %]: [% HTML.escape(SELF.db_cfg.db) %]

[% 'Please enter the name of the database that will be used as the template for the new database:' | $T8 %]

[% 'Template database' | $T8 %]: [% L.input_tag('db_template', "template1") %]

[% 'If the database user listed above does not have the right to create a database then enter the name and password of the superuser below:' | $T8 %]

[% 'Superuser name' | $T8 %]: [% L.input_tag('db_superuser', AUTH.DB_config.user, class="initial_focus") %]
[% 'Password' | $T8 %]: [% L.input_tag('db_superuser_password', AUTH.DB_config.password, type='password') %]
[% L.submit_tag("dummy", LxERP.t8("Create Dataset")) %] [% L.button_tag("history.back()", LxERP.t8("Back")) %]