Finishing up the MVP
This commit is contained in:
parent
3619063e68
commit
7f533cc583
25 changed files with 535 additions and 291 deletions
|
|
@ -2,19 +2,38 @@
|
|||
<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="/">< To home</a></div>
|
||||
<main>
|
||||
<h1>Settings</h1>
|
||||
<form hx-put="/settings" hx-swap="none">
|
||||
<label>Application name</label>
|
||||
<input
|
||||
name="application_name"
|
||||
type="text"
|
||||
value="{{ application_name }}"
|
||||
/>
|
||||
<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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue