feat: settings page with you-entity authoring
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Settings - chat{% endblock %}
|
||||
{% block content %}
|
||||
<h1>Settings</h1>
|
||||
{% if saved %}
|
||||
<p class="success">Settings saved.</p>
|
||||
{% endif %}
|
||||
<form method="post" action="/settings" class="bot-form">
|
||||
<label>
|
||||
<span>name</span>
|
||||
<input type="text" name="name" required value="{{ values.name|default('', true) }}">
|
||||
<small>required</small>
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<span>pronouns</span>
|
||||
<input type="text" name="pronouns" value="{{ values.pronouns|default('', true) }}">
|
||||
<small>optional (e.g. they/them)</small>
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<span>persona</span>
|
||||
<textarea name="persona" rows="3">{{ values.persona|default('', true) }}</textarea>
|
||||
<small>optional but recommended; a short description of you</small>
|
||||
</label>
|
||||
|
||||
<button type="submit">Save settings</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user