Lanna Desk is the legal side of buildfor.life (B4L), and the client link, its agreements, the demo agreement and the messages now name Lanna Desk: "Lanna Desk looks after your visa ...", "Send to Lanna Desk", "Lanna Desk keeps the signed copy". B4L stays where it is the company itself: the employer in the Non-B pack and its BOI application. README and PLAN say the same. Checks: fmt, clippy, 109 unit and 57 integration tests.
29 lines
1.4 KiB
HTML
29 lines
1.4 KiB
HTML
{% extends "base.html" %}
|
|
{% import "_fields.html" as fm %}
|
|
{% import "_agreement_text.html" as ag %}
|
|
{% block main %}
|
|
<div class="crumbs"><a href="/agreements">Agreements</a></div>
|
|
<div class="pagehead"><h1>New agreement</h1></div>
|
|
<form method="post" action="/agreements" class="form" id="agreement-form">
|
|
<input type="hidden" name="csrf" value="{{ csrf }}">
|
|
<section class="card">
|
|
<div class="grid">
|
|
{{ fm.text("title", "Title", d.title, err=errors.title, req=true, cls="wide", hint="As the client sees it, for example: How Lanna Desk processes your personal data.") }}
|
|
{{ fm.area("body", "Text", d.body, err=errors.body, rows=18, fcls="wide", hint="Paste it as legal wrote it. An empty line starts a new paragraph, # and a space a heading, - and a space a list item.") }}
|
|
</div>
|
|
</section>
|
|
<div class="formactions">
|
|
<button type="submit" name="action" value="preview" class="btn" formnovalidate>Preview</button>
|
|
<button type="submit" name="action" value="publish" class="btn pri" id="save">Publish version 1</button>
|
|
<a class="btn ghost" href="/agreements">Cancel</a>
|
|
</div>
|
|
<p class="hint">A published text can never be changed, only followed by a new version.</p>
|
|
</form>
|
|
{% if d.body %}
|
|
<section class="card" id="preview">
|
|
<header><h2>As the client reads it</h2></header>
|
|
{{ ag.text(preview) }}
|
|
</section>
|
|
{% endif %}
|
|
{% endblock %}
|