Add a signup field to domains

This commit is contained in:
kaiyou
2017-12-03 12:00:44 +01:00
parent 4761646616
commit 6d71fa96ad
2 changed files with 25 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
{{ macros.form_field(form.max_quota_bytes, step=1000000000, max=50000000000,
prepend='<span class="input-group-addon"><span id="quota">'+((form.max_quota_bytes.data//1000000000).__str__() if form.max_quota_bytes.data else '∞')+'</span> GiB</span>',
oninput='$("#quota").text(this.value == 0 ? "∞" : this.value/1000000000);') }}
{{ macros.form_field(form.signup_enabled) }}
{{ macros.form_field(form.comment) }}
{{ macros.form_field(form.submit) }}
</form>