start modifying /blogs/new to add custom_domain to the form

This commit is contained in:
Igor Galić
2019-07-30 23:57:17 +02:00
committed by Igor Galić
parent b172a80e35
commit 2dedcdbc53
3 changed files with 23 additions and 0 deletions
+3
View File
@@ -11,5 +11,8 @@
<form method="post" action="@uri!(blogs::create)">
@input!(ctx.1, title (text), "Title", form, errors, "required minlength=\"1\"")
<input type="submit" value="@i18n!(ctx.1, "Create blog")" dir="auto"/>
@input!(ctx.1, custom_domain (optional text), "Custom Domain", form, errors.clone(), "")
<input type="submit" value="@i18n!(ctx.1, "Make your blog available under a custom domain")" dir="auto"/>
</form>
})