samey/templates/pages/settings.html
2025-04-13 23:13:51 -03:00

41 lines
1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Settings - {{ application_name }}</title>
<meta property="og:site_name" content="{{ application_name }}" />
{% include "fragments/common_headers.html" %}
</head>
<body>
{% if age_confirmation %}{% include "fragments/age_restricted_check.html"
%}{% endif %}
<div><a href="/">&lt; To home</a></div>
<main>
<h1>Settings</h1>
<form method="post" action="/settings">
<div>
<label>Application name</label>
<input
name="application_name"
type="text"
value="{{ application_name }}"
/>
</div>
<div>
<label>Ask for age confirmation?</label>
<input
name="age_confirmation"
type="checkbox"
{%
if
age_confirmation
%}checked{%
endif
%}
value="true"
/>
</div>
<button>Save changes</button>
</form>
</main>
</body>
</html>