{{template "base/head" .}}

### {{ctx.Locale.Tr "install.title"}}

{{template "base/alert" .}}

{{ctx.Locale.Tr "install.docker_helper" "https://forgejo.org/docs/latest/admin/installation-docker/"}}

#### {{ctx.Locale.Tr "install.db_title"}}

{{ctx.Locale.Tr "install.require_db_desc"}}

{{ctx.Locale.Tr "install.db_type"}}
{{.CurDbType}}
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
{{ctx.Locale.Tr "install.host"}}
{{ctx.Locale.Tr "install.user"}}
{{ctx.Locale.Tr "install.password"}}
{{ctx.Locale.Tr "install.db_name"}}
{{ctx.Locale.Tr "install.ssl_mode"}}
disable
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
{{ctx.Locale.Tr "install.db_schema"}} {{ctx.Locale.Tr "install.db_schema_helper"}}
{{ctx.Locale.Tr "install.path"}} {{ctx.Locale.Tr "install.sqlite_helper"}}
{{if .Err_DbInstalledBefore}}

{{ctx.Locale.Tr "install.reinstall_confirm_message"}}

{{ctx.Locale.Tr "install.reinstall_confirm_check_1"}}
{{ctx.Locale.Tr "install.reinstall_confirm_check_2"}}
{{ctx.Locale.Tr "install.reinstall_confirm_check_3"}}
{{end}}

#### {{ctx.Locale.Tr "install.general_title"}}

{{ctx.Locale.Tr "install.app_name"}} {{ctx.Locale.Tr "install.app_name_helper"}}
{{ctx.Locale.Tr "install.app_slogan"}} {{ctx.Locale.Tr "install.app_slogan_helper"}}
{{ctx.Locale.Tr "install.repo_path"}} {{ctx.Locale.Tr "install.repo_path_helper"}}
{{ctx.Locale.Tr "install.lfs_path"}} {{ctx.Locale.Tr "install.lfs_path_helper"}}
{{ctx.Locale.Tr "install.run_user"}} {{ctx.Locale.Tr "install.run_user_helper"}}
{{ctx.Locale.Tr "install.domain"}} {{ctx.Locale.Tr "install.domain_helper"}}
{{ctx.Locale.Tr "install.ssh_port"}} {{ctx.Locale.Tr "install.ssh_port_helper"}}
{{ctx.Locale.Tr "install.http_port"}} {{ctx.Locale.Tr "install.http_port_helper"}}
{{ctx.Locale.Tr "install.app_url"}} {{ctx.Locale.Tr "install.app_url_helper"}}
{{ctx.Locale.Tr "install.log_root_path"}} {{ctx.Locale.Tr "install.log_root_path_helper"}}
{{ctx.Locale.Tr "install.disable_registration"}}
{{ctx.Locale.Tr "install.disable_registration.description"}}
{{ctx.Locale.Tr "install.enable_update_checker"}}
{{ctx.Locale.Tr "install.enable_update_checker_helper_forgejo"}}

#### {{ctx.Locale.Tr "install.optional_title"}}

{{ctx.Locale.Tr "install.email_title"}}
{{ctx.Locale.Tr "install.smtp_addr"}}
{{ctx.Locale.Tr "install.smtp_port"}}
{{ctx.Locale.Tr "install.smtp_from"}} {{ctx.Locale.TrString "install.smtp_from_helper"}}{{/* it contains lt/gt chars*/}}
{{ctx.Locale.Tr "install.mailer_user"}}
{{ctx.Locale.Tr "install.mailer_password"}}
{{ctx.Locale.Tr "install.register_confirm"}}
{{ctx.Locale.Tr "install.mail_notify"}}
{{ctx.Locale.Tr "install.server_service_title"}}
{{ctx.Locale.Tr "install.offline_mode"}}
{{ctx.Locale.Tr "install.offline_mode.description"}}
{{ctx.Locale.Tr "install.disable_gravatar"}}
{{ctx.Locale.Tr "install.disable_gravatar.description"}}
{{ctx.Locale.Tr "install.federated_avatar_lookup"}}
{{ctx.Locale.Tr "install.federated_avatar_lookup.description"}}
{{ctx.Locale.Tr "install.openid_signin"}}
{{ctx.Locale.Tr "install.openid_signin.description"}}
{{ctx.Locale.Tr "install.allow_only_external_registration"}}
{{ctx.Locale.Tr "install.allow_only_external_registration.description"}}
{{ctx.Locale.Tr "install.openid_signup"}}
{{ctx.Locale.Tr "install.openid_signup.description"}}
{{ctx.Locale.Tr "install.enable_captcha"}}
{{ctx.Locale.Tr "install.enable_captcha.description"}}
{{ctx.Locale.Tr "install.require_sign_in_view"}}
{{ctx.Locale.Tr "install.require_sign_in_view.description"}}
{{ctx.Locale.Tr "install.default_keep_email_private"}}
{{ctx.Locale.Tr "install.default_keep_email_private.description"}}
{{ctx.Locale.Tr "install.default_allow_create_organization"}}
{{ctx.Locale.Tr "install.default_allow_create_organization.description"}}
{{ctx.Locale.Tr "install.default_enable_timetracking"}}
{{ctx.Locale.Tr "install.default_enable_timetracking.description"}}
{{ctx.Locale.Tr "install.no_reply_address"}} {{ctx.Locale.Tr "install.no_reply_address_helper"}}
{{ctx.Locale.Tr "install.password_algorithm"}}
{{.password_algorithm}}
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
{{ctx.Locale.Tr "install.password_algorithm_helper"}}
{{ctx.Locale.Tr "install.admin_title"}}

{{ctx.Locale.Tr "install.admin_setting.description"}}

{{ctx.Locale.Tr "install.admin_name"}}
{{ctx.Locale.Tr "install.admin_email"}}
{{ctx.Locale.Tr "install.admin_password"}}
{{ctx.Locale.Tr "install.confirm_password"}}
{{if .EnvConfigKeys}}

#### {{ctx.Locale.Tr "install.env_config_keys"}}

{{ctx.Locale.Tr "install.env_config_keys_prompt"}}
{{range .EnvConfigKeys}}{{.}}{{end}}
{{end}}

{{ctx.Locale.Tr "install.config_location_hint"}} {{.CustomConfFile}}

{{template "base/footer" .}}